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.
How I can modify InternalsVisibleTo in assembly using Reflexii?
-
18-03-2022 - |
Frage
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.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow