Skip to content

Commit

Permalink
#52: Sign Pose with strong name
Browse files Browse the repository at this point in the history
  • Loading branch information
nikopede committed Nov 28, 2024
1 parent 6590716 commit 8e8b684
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
Binary file added pose.snk
Binary file not shown.
7 changes: 7 additions & 0 deletions src/Pose/Pose.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<DebugType>portable</DebugType>
<AssemblyName>Pose</AssemblyName>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\pose.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants></DefineConstants>
Expand All @@ -13,4 +15,9 @@
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\pose.snk">
<Link>pose.snk</Link>
</None>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Pose/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Pose.Tests")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Pose.Tests, PublicKey=00240000048000001401000006020000002400005253413100080000010001007BE0D73C24052B35574042B432DDD7171D5F89F859D1BC647076F0339E823F72248A64D7EFB5540B2221E06DA6B03BC298746A5DC6B8708F6358D848E62138199E9BDDBF32D11F90AB2F60BF925EB3762F510B6019FE415C32968F78D1E8BE36D4261CD18ABFC4F08BC2B58F9DB6F73979710BB19DF2F9648473D4A6C40422BAB0A40363C3704A4055FCF05F1AEAAE7DC71ADDD8C6D9A5E20FEEC2D95D0BA1F91A07536E175B541CA30144CF4F272DDEC67EE9304DD419229230F60B27FB57372642C2B30C98835913B6DD692C52990C6036C6B01324395612DE9457E948A0C2FCDE287DF86D76590D3C31F30BDC7BB4CF087799C95553600264A2DA2443DFB8")]
8 changes: 8 additions & 0 deletions test/Pose.Tests/Pose.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFrameworks>net6.0;net8.0;netcoreapp2.0;netcoreapp3.0;netcoreapp3.1;net47;net48;net7.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<LangVersion>11</LangVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\pose.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -17,4 +19,10 @@
<ProjectReference Include="..\..\src\Pose\Pose.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\pose.snk">
<Link>pose.snk</Link>
</None>
</ItemGroup>

</Project>

0 comments on commit 8e8b684

Please sign in to comment.