How to

make internal members visible to another library

Published: 3. November 2011 | Updated: 3. November 2011
License: Microsoft Public License (MS-PL)
Categories: Framework
Tags: C# Testing Visual Studio
Was this snippet helpful for you? YESYES / NONO
// 1. Open file AssemblyInfo.cs (under Properties in Visual Studio) in project which contains internal members you want to make visible
// 2. Add this line [assembly: InternalsVisibleTo("ProjectName")]
// 3. Replace 'ProjectName' with name of the project for which you want to make internal members visible
Send us feedback about this snippet »



Related Snippets: