Template
🔧 Removes default internals visibility for test projects
Eliminates the automatic exposure of assembly internals to test projects when no friend assemblies are declared, streamlining the handling of internals visibility.
This commit is contained in:
2 files changed
+30
-30
No files matched your search
@@ -159,13 +159,6 @@
|
||||
CopyToOutputDirectory="Never" Visible="false" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Project internals are exposed to projects named $(Project).Tests by default -->
|
||||
<ItemGroup
|
||||
Condition="@(InternalsVisibleToSuffix->Count()) == 0 AND @(InternalsVisibleTo->Count()) == 0">
|
||||
<InternalsVisibleToSuffix Include=".Tests" />
|
||||
<InternalsVisibleToSuffix Include="Tests" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup Label="Package">
|
||||
<PackageId>$(RootNamespace)</PackageId>
|
||||
<Company>Kritikos IO</Company>
|
||||
|
||||
Reference in new issue
Block a user