我可以让你使用本不该属于你的”力量”,但是你也得谨慎使用,希望你不会因为这股”力量”而受伤 声明:本程序集只对开发时的引用程序集做处理
一切的配置都在 YourProject.csproj 中
<PropertyGroup>
<IgnoresAccessChecksAssemblyNames>Assembly1;Assembly2</IgnoresAccessChecksAssemblyNames>
</PropertyGroup>
<PropertyGroup>
<ExcludeTypeFullNames>Type1;Type2</ExcludeTypeFullNames>
</PropertyGroup>
<PropertyGroup>
<UseEmptyMethodBody>true</UseEmptyMethodBody>
</PropertyGroup>