Question:
How to make internals visible to another dll?I want to render my internals visible to a test class. How do I do that?
Answer:
You can add an assembly attribute (InternalsVisibleTo) to the the AssemblyInfo.cs fileHere is the code
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MyNamespace.TestClass")]
No comments:
Post a Comment