Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Commit fe3ed50

Browse files
committed
Enable strong naming support
1 parent 5b2dd24 commit fe3ed50

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build/common.props

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<NoWarn>$(NoWarn);CS1591</NoWarn>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)key.snk</AssemblyOriginatorKeyFile>
11+
<SignAssembly>true</SignAssembly>
12+
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
1013
</PropertyGroup>
1114

1215
<PropertyGroup>
@@ -16,7 +19,7 @@
1619
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</PackageLicenseUrl>
1720
<RepositoryType>git</RepositoryType>
1821
<RepositoryUrl>git://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions</RepositoryUrl>
19-
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
22+
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
2023
</PropertyGroup>
2124

2225
</Project>

build/key.snk

2.27 KB
Binary file not shown.

0 commit comments

Comments
 (0)