Skip to content

Commit

Permalink
Add Strong Name Signing.
Browse files Browse the repository at this point in the history
  • Loading branch information
H1Gdev committed Dec 23, 2021
1 parent 5ceb147 commit f94a34d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/ExCSS.Tests/ExCSS.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>ExCSS.Tests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -20,6 +22,10 @@
<PackageReference Include="xunit" Version="2.2.0" />
</ItemGroup>

<ItemGroup>
<None Remove="ExCSS.Tests.snk" />
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
Expand Down
Binary file added src/ExCSS.Tests/ExCSS.Tests.snk
Binary file not shown.
7 changes: 7 additions & 0 deletions src/ExCSS/ExCSS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>ExCSS.snk</AssemblyOriginatorKeyFile>
<Version>4.1.3</Version>
</PropertyGroup>

<ItemGroup>
<None Remove="ExCSS.snk" />
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
Expand Down
Binary file added src/ExCSS/ExCSS.snk
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ExCSS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ExCSS")]
[assembly: AssemblyTrademark("")]
[assembly: InternalsVisibleTo("ExCSS.Tests")]
[assembly: InternalsVisibleTo("ExCSS.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100816d68fc780a643f4de3d073378928c09d763309e14aec27af5d9ce67f7bdcf824b9e82dbf4edd3d2f833c615aec1365d02d4fcab8997c1e1da83916369fcbe6f6d4574b5744790a3f05e617c5d2e74fc95c28e45ad962457b1535c9e0319e121be5d4d00133751b70408205ece1e8718a87e1829449d4926167e6063d2e06c8")]

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

0 comments on commit f94a34d

Please sign in to comment.