Question

I would to modify InternalsVisibleTo attribute value in assembly? In Reflector I see [assembly: InternalsVisibleTo(AssemblyName)] but I don't see AssemblyInfo.cs which I can modify. If it possible I'd like to change AssemblyName in the attribute to name of my native assembly.

Était-ce utile?

La solution

I think you can't do it. First the value of the attribute is constant, so it couldn't be changed via reflection. Second you cant change attributes of a assembly.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top