Enable MicroBuild code signing

This commit is contained in:
Nate McMaster 2018-09-27 15:04:18 -07:00
parent 0324313144
commit 594b5fafe4
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
3 changed files with 1 additions and 4 deletions

View File

@ -14,9 +14,6 @@
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<AssemblySigningCertName>Microsoft</AssemblySigningCertName>
<PackageSigningCertName>MicrosoftNuGet</PackageSigningCertName>
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Workaround microsoft/msbuild#3626 -->
<AddSyntheticProjectReferencesForSolutionDependencies>false</AddSyntheticProjectReferencesForSolutionDependencies>

View File

@ -20,7 +20,7 @@
<EmbeddedResource Remove="wwwroot/**/LICENSE*" />
<None Remove="wwwroot/**/.bower.json" />
<None Remove="wwwroot/**/LICENSE*" />
<None Include="THIRD-PARTY-NOTICES" Pack="true" PackagePath="/" />
<None Include="THIRD-PARTY-NOTICES.txt" Pack="true" PackagePath="/" />
<Content Update="**\*.cshtml" Pack="false" />
</ItemGroup>