Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strong name signing for assembly #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Jurassic.snk
Binary file not shown.
3 changes: 3 additions & 0 deletions Jurassic/Jurassic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<Description>A .NET library to parse and execute JavaScript code.</Description>
<Version>4.0.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyOriginatorKeyFile>../Jurassic.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
5 changes: 4 additions & 1 deletion Jurassic/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System.Runtime.CompilerServices;

// Unit tests and performance tests need access to internal members.
[assembly: InternalsVisibleTo("Unit Tests")]
[assembly: InternalsVisibleTo("Unit Tests, PublicKey=00240000048000009400000006020000002400005253" +
"413100040000010001000d9e3222b4ac5e04d6ea884cd918e62997c023dec31205991d186bb880b34edc455cb14b" +
"50c9751b42605c51c36b869df29b9f17ff2b5a44332ba06d52aebd58cf04a1366018cf14907ed9fc6e4ab979a791" +
"e283dfe1b5f55b1b3fb13bfa9456d7cfda968f442cadeb73586edc7594e3251965eb2ee14ad753355e9207d89ba4")]
3 changes: 3 additions & 0 deletions Unit Tests/Unit Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<AssemblyOriginatorKeyFile>../Jurassic.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down