Skip to content

Commit 5cb55e3

Browse files
Patrick Wernertimothylcooke
authored andcommitted
enable strong naming for better .NET Framework support
1 parent edc5af6 commit 5cb55e3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/CSharp/MathConverter/AssemblyInfo.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@
1919
[assembly: XmlnsDefinition("http://hexinnovation.com/math", "HexInnovation")]
2020
#endif
2121

22-
[assembly: InternalsVisibleTo("MathConverter.UnitTests")]
22+
[assembly: InternalsVisibleTo("MathConverter.UnitTests,PublicKey=" +
23+
"0024000004800000940000000602000000240000525341310004000001000100056bb3f4bc6f27" +
24+
"a583fb5713ddbe24f2dabdf9688b60147eca177159a995ef153b183156c4566b457819661af3a1" +
25+
"b6810a9cae7928ccb10b834de2eaa99c133f2c0540f77cd43040853d166227d6bb252618b95ad3" +
26+
"0e3e5a1487c19bb9854e94edadb6c5fb2d2eaf771edb3d290a655bfc8c9eb852855f8d339ab102" +
27+
"78bf44be")]

src/Projects/Common/Common.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<PropertyGroup>
55
<LangVersion>10.0</LangVersion>
66
<RootNamespace>HexInnovation</RootNamespace>
7+
<SignAssembly>True</SignAssembly>
8+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)StrongNamedAssemblyKey.snk</AssemblyOriginatorKeyFile>
79
</PropertyGroup>
810

911
<ItemGroup>
596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)