Simplify InternalsVisibleTo

If the $(PublicKey) property is used, the SDK targets will automatically use it for the assembly attributes.

See https://github.com/dotnet/sdk/pull/3439

Simplifies https://github.com/spectreconsole/spectre.console/pull/1623
This commit is contained in:
Daniel Cazzulino
2024-09-05 19:16:57 -03:00
committed by Patrik Svensson
parent fd69ad0b01
commit 8e44a83737
4 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup Label="REMOVE THIS">
<InternalsVisibleTo Include="$(AssemblyName).Tests, PublicKey=$(SnkPublicKey)"/>
<InternalsVisibleTo Include="$(AssemblyName).Tests"/>
</ItemGroup>
<ItemGroup Label="Standard Figlet font">