Add strong naming for all projects

The snk file was generated using this command:

sn -k CloudEventsSdk.snk

Note that this is a breaking change. (Other changes have already
been breaking, but this is *very* breaking.)

Fixes #24.

Signed-off-by: Jon Skeet <jonskeet@google.com>
This commit is contained in:
Jon Skeet 2020-06-03 08:12:37 +01:00 committed by Jon Skeet
parent c50fd95c50
commit 48d697abad
2 changed files with 5 additions and 0 deletions

BIN
CloudEventsSdk.snk Normal file

Binary file not shown.

View File

@ -1,6 +1,11 @@
<Project>
<PropertyGroup>
<!-- Make the repository root available for other properties -->
<RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot>
<!-- Build properties -->
<AssemblyOriginatorKeyFile>$(RepoRoot)/CloudEventsSdk.snk</AssemblyOriginatorKeyFile>
<SignAssembly>True</SignAssembly>
<Deterministic>True</Deterministic>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>