This project is read-only.

Error after generation: AzAuthorizationStoreClass cannot be embedded

May 4, 2010 at 7:20 PM

After dropping in a new AuthorizationStore, I get the following error once the generation is complete:

Interop type 'Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass' cannot be embedded. Use the applicable interface instead.

I have the AzRoles assembly referenced in my application, and I can't seem to find much about this error on the 'ol Google.  Anyone have any insight as to what I might be missing?



May 4, 2010 at 7:37 PM

Huh... Interesting... When I viewed the props of that assembly, I changed the value of embed Interop Type to False, and Copy Local to True, and the error went away... Something I should be concerned about?

May 9, 2010 at 3:00 PM

Probably not. It sounds like you did exactly what the error message suggested and it solved the problem.