I could not find any clear statement on MSDN regarding this, there are some examples with strong names other are without, for me it seems like it should work even without but its not working.
Thank you
I could not find any clear statement on MSDN regarding this, there are some examples with strong names other are without, for me it seems like it should work even without but its not working.
Thank you
The documentation is quite explicit:
Both the current assembly and the friend assembly must be unsigned, or both must be signed with a strong name. If they are signed with a strong name, the argument to 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 full public key means.
[AssemblyKeyFile]
and [AssemblyKeyName]
attributes, even empty, can mess with [InternalsVisibleTo]
, as this answer reveals. –
Scrabble © 2022 - 2024 — McMap. All rights reserved.