Skip to content

Commit 18d38d3

Browse files
ilCosmicotig
andauthored
Fixes #3178. v1 - Library has no strong-name. (#3191)
* Add strong-name signing Add strong-name signing as requested for issue #3178 * Add strong name sign to UnitTests project Added strong name to UnitTests project too. --------- Co-authored-by: Tig <[email protected]>
1 parent fffa8de commit 18d38d3

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

Terminal.Gui/Terminal.Gui.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<PackageReference Include="System.Management" Version="8.0.0" />
3434
<!-- Enable Nuget Source Link for github -->
3535
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
36-
<InternalsVisibleTo Include="UnitTests" />
36+
<InternalsVisibleTo Include="UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c135ca0dc72ed9549b7ebf23772eb9e3dc2dc9e4a4fb795fa88404a175cfbe230a3d5edb1802c7952b1b5edbeb8136dc16ea6ab03f3f6fed01e9937d8ef40378bee9a31502cd56bfc14adfb2858d438c66d87aea4c54c49bfad28a282bed869af33ac256fe9584b1c5b96479b52a0c95b5a400a7b833820faa272d16ce0586ed" />
3737
</ItemGroup>
3838
<PropertyGroup>
3939
<!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
@@ -101,5 +101,7 @@
101101
<EnableSourceLink>true</EnableSourceLink>
102102
<!--<DebugType>Embedded</DebugType>-->
103103
<Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
104+
<SignAssembly>True</SignAssembly>
105+
<AssemblyOriginatorKeyFile>Terminal.Gui.snk</AssemblyOriginatorKeyFile>
104106
</PropertyGroup>
105107
</Project>

Terminal.Gui/Terminal.Gui.snk

596 Bytes
Binary file not shown.

UnitTests/UnitTests.csproj

+2
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,7 @@
5858
<IncludeTestAssembly>
5959
False
6060
</IncludeTestAssembly>
61+
<SignAssembly>True</SignAssembly>
62+
<AssemblyOriginatorKeyFile>UnitTests.snk</AssemblyOriginatorKeyFile>
6163
</PropertyGroup>
6264
</Project>

UnitTests/UnitTests.snk

596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)