make internal members visible to another library
Published: 3. November 2011 | Updated: 3. November 2011License: Microsoft Public License (MS-PL)
Categories: Framework
Tags: C# Testing Visual Studio
// 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 » |





