Skip to content

Commit

Permalink
Fixes #3178. v1 - Library has no strong-name. (#3191)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
ilCosmico and tig authored Jan 22, 2024
1 parent fffa8de commit 18d38d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Terminal.Gui/Terminal.Gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="System.Management" Version="8.0.0" />
<!-- Enable Nuget Source Link for github -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<InternalsVisibleTo Include="UnitTests" />
<InternalsVisibleTo Include="UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c135ca0dc72ed9549b7ebf23772eb9e3dc2dc9e4a4fb795fa88404a175cfbe230a3d5edb1802c7952b1b5edbeb8136dc16ea6ab03f3f6fed01e9937d8ef40378bee9a31502cd56bfc14adfb2858d438c66d87aea4c54c49bfad28a282bed869af33ac256fe9584b1c5b96479b52a0c95b5a400a7b833820faa272d16ce0586ed" />
</ItemGroup>
<PropertyGroup>
<!-- Uncomment the RestoreSources element to have dotnet restore pull NStack from a local dir for testing -->
Expand Down Expand Up @@ -101,5 +101,7 @@
<EnableSourceLink>true</EnableSourceLink>
<!--<DebugType>Embedded</DebugType>-->
<Authors>Miguel de Icaza, Tig Kindel (@tig), @BDisp</Authors>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>Terminal.Gui.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
</Project>
Binary file added Terminal.Gui/Terminal.Gui.snk
Binary file not shown.
2 changes: 2 additions & 0 deletions UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@
<IncludeTestAssembly>
False
</IncludeTestAssembly>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>UnitTests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
</Project>
Binary file added UnitTests/UnitTests.snk
Binary file not shown.

0 comments on commit 18d38d3

Please sign in to comment.