Is it possible to use InternalVisibleTo without a strong build in C #?

I could not find any clear statement in MSDN about this, there are examples with strong names that are not there, it seems to me that it should work even without it, but it does not work.

thanks

+7
source share
1 answer

The documentation is clear enough:

Both the current assembly and the friends assembly must be unsigned, or both must be signed with a strong name. If they are signed with a strong name, the argument of the InternalsVisibleToAttribute constructor must include the full public key, as well as the name of the assembly.

See this answer for an example of what a full public key means.

+10
source

All Articles