Skip to content

Commit f94a34d

Browse files
committed
Add Strong Name Signing.
1 parent 5ceb147 commit f94a34d

5 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/ExCSS.Tests/ExCSS.Tests.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
99
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1010
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
11+
<SignAssembly>true</SignAssembly>
12+
<AssemblyOriginatorKeyFile>ExCSS.Tests.snk</AssemblyOriginatorKeyFile>
1113
</PropertyGroup>
1214

1315
<ItemGroup>
@@ -20,6 +22,10 @@
2022
<PackageReference Include="xunit" Version="2.2.0" />
2123
</ItemGroup>
2224

25+
<ItemGroup>
26+
<None Remove="ExCSS.Tests.snk" />
27+
</ItemGroup>
28+
2329
<ItemGroup>
2430
<Folder Include="Properties\" />
2531
</ItemGroup>

src/ExCSS.Tests/ExCSS.Tests.snk

596 Bytes
Binary file not shown.

src/ExCSS/ExCSS.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@
1313
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
1414
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1515
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
16+
<SignAssembly>true</SignAssembly>
17+
<AssemblyOriginatorKeyFile>ExCSS.snk</AssemblyOriginatorKeyFile>
18+
<Version>4.1.3</Version>
1619
</PropertyGroup>
1720

21+
<ItemGroup>
22+
<None Remove="ExCSS.snk" />
23+
</ItemGroup>
24+
1825
<ItemGroup>
1926
<Folder Include="Properties\" />
2027
</ItemGroup>

src/ExCSS/ExCSS.snk

596 Bytes
Binary file not shown.

src/ExCSS/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[assembly: AssemblyCompany("")]
1010
[assembly: AssemblyProduct("ExCSS")]
1111
[assembly: AssemblyTrademark("")]
12-
[assembly: InternalsVisibleTo("ExCSS.Tests")]
12+
[assembly: InternalsVisibleTo("ExCSS.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100816d68fc780a643f4de3d073378928c09d763309e14aec27af5d9ce67f7bdcf824b9e82dbf4edd3d2f833c615aec1365d02d4fcab8997c1e1da83916369fcbe6f6d4574b5744790a3f05e617c5d2e74fc95c28e45ad962457b1535c9e0319e121be5d4d00133751b70408205ece1e8718a87e1829449d4926167e6063d2e06c8")]
1313

1414
// Setting ComVisible to false makes the types in this assembly not visible
1515
// to COM components. If you need to access a type in this assembly from

0 commit comments

Comments
 (0)