InternalsVisibleToAttribute for assembly definition file

Don’t know if there is a better place to post feature requests

Given that NUnit is now being integrated into unity it would be great to be able to define the InternalsVisibleToAttribute for assemblies, that way pieces of code could be made visible to testing assemblies.

http://feedback.unity3d.com is most likely the place where Unity wants us to file feature suggestions.

I think this should already work with the new Assembly Definition Files feature - you’d just stick [assembly:InternalsVisibleTo] into one of the files that is being compiled into your assembly.

3 Likes

Oh good point. I’ve always set it though an editor.