Skip to content

Commit

Permalink
enable strong naming for better .NET Framework support
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Werner authored and timothylcooke committed Dec 12, 2023
1 parent edc5af6 commit 5cb55e3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/CSharp/MathConverter/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@
[assembly: XmlnsDefinition("http://hexinnovation.com/math", "HexInnovation")]
#endif

[assembly: InternalsVisibleTo("MathConverter.UnitTests")]
[assembly: InternalsVisibleTo("MathConverter.UnitTests,PublicKey=" +
"0024000004800000940000000602000000240000525341310004000001000100056bb3f4bc6f27" +
"a583fb5713ddbe24f2dabdf9688b60147eca177159a995ef153b183156c4566b457819661af3a1" +
"b6810a9cae7928ccb10b834de2eaa99c133f2c0540f77cd43040853d166227d6bb252618b95ad3" +
"0e3e5a1487c19bb9854e94edadb6c5fb2d2eaf771edb3d290a655bfc8c9eb852855f8d339ab102" +
"78bf44be")]
2 changes: 2 additions & 0 deletions src/Projects/Common/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<RootNamespace>HexInnovation</RootNamespace>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)StrongNamedAssemblyKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Binary file added src/Projects/Common/StrongNamedAssemblyKey.snk
Binary file not shown.

0 comments on commit 5cb55e3

Please sign in to comment.