Skip to content

Commit

Permalink
Generate strong-named assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
quinmars authored and egil committed Nov 12, 2023
1 parent 236d4ed commit 7949fae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Binary file added key.snk
Binary file not shown.
4 changes: 3 additions & 1 deletion src/TimeProviderExtensions/TimeProviderExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<DebugType>embedded</DebugType>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -81,7 +83,7 @@

<ItemGroup>
<!-- Makes internal types in libraries visible to their test projects -->
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<InternalsVisibleTo Include="$(AssemblyName).Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002139f9531affe959224abf4762c3cd1ac0474e4cef834b7ac7b501caff6167b29d5ef26ac2b713a89a819933bc11efc9a7ef00ad86af6b7ede90f00f7d7c8e7954ef3775b4bca2527626a20480acbcaa32d434b6d4aabc37fba5664931fa74b95519c2835d537ece2deced67726ff4a79df53bcfb998f62f240153da588b9fb9"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<IsPackable>false</IsPackable>
<RootNamespace>TimeProviderExtensions</RootNamespace>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7949fae

Please sign in to comment.