Add certificate names for code signing
This commit is contained in:
parent
a1ba1f0f86
commit
83684abab4
|
|
@ -14,6 +14,7 @@
|
||||||
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
|
<RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
|
||||||
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
|
||||||
<SignAssembly>true</SignAssembly>
|
<SignAssembly>true</SignAssembly>
|
||||||
|
<PackageSigningCertName>MicrosoftNuGet</PackageSigningCertName>
|
||||||
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
|
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
<AssemblySigningCertName>Microsoft</AssemblySigningCertName>
|
<AssemblySigningCertName>Microsoft</AssemblySigningCertName>
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
version:2.2.0-preview1-17067
|
version:2.2.0-preview1-17075
|
||||||
commithash:2af0e2e3d02329b4f0290061ab9bd8c7ca1aa26f
|
commithash:d9f07c7f313a0af1d49f003f5424b4dbbdd3e09f
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@
|
||||||
<NuspecFile>$(MSBuildProjectName).nuspec</NuspecFile>
|
<NuspecFile>$(MSBuildProjectName).nuspec</NuspecFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Building this package is somewhat complicated because we need to Build or Publish some other projects
|
Building this package is somewhat complicated because we need to Build or Publish some other projects
|
||||||
that have different TFM's including one with multiple TFMs.
|
that have different TFM's including one with multiple TFMs.
|
||||||
|
|
||||||
We then need to include the output of those projects in our output directory (where it will be used
|
We then need to include the output of those projects in our output directory (where it will be used
|
||||||
by tests) and in the nukpg.
|
by tests) and in the nukpg.
|
||||||
|
|
@ -30,6 +30,24 @@
|
||||||
<ProjectReference Include="$(ToolProject)" ReferenceOutputAssembly="false" Condition="'$(TargetFramework)' == 'netcoreapp2.0'" />
|
<ProjectReference Include="$(ToolProject)" ReferenceOutputAssembly="false" Condition="'$(TargetFramework)' == 'netcoreapp2.0'" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(TargetFramework)'==''">
|
||||||
|
<!-- Binaries produced in this project -->
|
||||||
|
<SignedPackageFile Include="tools/rzc.dll" Certificate="$(AssemblySigningCertName)" />
|
||||||
|
<SignedPackageFile Include="tasks/net46/Microsoft.AspNetCore.Razor.Tasks.dll" Certificate="$(AssemblySigningCertName)" />
|
||||||
|
<SignedPackageFile Include="tasks/netstandard2.0/Microsoft.AspNetCore.Razor.Tasks.dll" Certificate="$(AssemblySigningCertName)" />
|
||||||
|
<SignedPackageFile Include="tools/Microsoft.AspNetCore.Razor.Language.dll" Certificate="$(AssemblySigningCertName)" />
|
||||||
|
<SignedPackageFile Include="tools/Microsoft.CodeAnalysis.Razor.dll" Certificate="$(AssemblySigningCertName)" />
|
||||||
|
|
||||||
|
<!-- Third-party assemblies -->
|
||||||
|
<SignedPackageFile Include="tools/Newtonsoft.Json.dll" Certificate="3PartyDual" />
|
||||||
|
|
||||||
|
<!-- Binaries that should be signed by corefx/roslyn -->
|
||||||
|
<ExcludePackageFileFromSigning Include="tools/Microsoft.CodeAnalysis.CSharp.dll" />
|
||||||
|
<ExcludePackageFileFromSigning Include="tools/Microsoft.CodeAnalysis.dll" />
|
||||||
|
<ExcludePackageFileFromSigning Include="tools/runtimes/unix/lib/netstandard1.3/System.Text.Encoding.CodePages.dll" />
|
||||||
|
<ExcludePackageFileFromSigning Include="tools/runtimes/win/lib/netstandard1.3/System.Text.Encoding.CodePages.dll" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec">
|
<Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue