Enable MicroBuild code signing (#1456)
Fixup the paths to files to be signed.
This commit is contained in:
Родитель
45a52ebff5
Коммит
89fccf3ac5
|
@ -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>
|
||||
|
|
|
@ -65,9 +65,6 @@
|
|||
</ArtifactInfo>
|
||||
|
||||
<FilesToSign Include="$(AncmZipOutputPath)" IsContainer="true" />
|
||||
|
||||
<FilesToSign Include="@(Components->'%(BaseOutputPath)/%(Platform)/%(NativeAsset).dll')" Container="$(AncmZipOutputPath)" Certificate="$(AssemblySigningCertName)" />
|
||||
|
||||
<FilesToExcludeFromSigning Include="$(StressTestWebSiteZipOutputPath)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
Pack="true"
|
||||
PackagePath="runtimes/win-%(InProcessComponents.Platform)/nativeassets/$(NativeAssetsTargetFramework)" />
|
||||
|
||||
<SignedPackageFile Include="%(InProcessComponents.NativeAsset)_%(InProcessComponents.Platform)"
|
||||
<SignedPackageFile Include="%(InProcessComponents.DllLocation)"
|
||||
PackagePath="runtimes/win-%(InProcessComponents.Platform)/nativeassets/$(NativeAssetsTargetFramework)/%(InProcessComponents.NativeAsset).dll"
|
||||
Certificate="Microsoft" />
|
||||
Certificate="$(AssemblySigningCertName)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
PackageCopyToOutput="true"
|
||||
PackagePath="contentFiles/any/any/%(ShimComponents.Platform)/%(ShimComponents.PackageSubPath)"/>
|
||||
|
||||
<SignedPackageFile Include="%(ShimComponents.NativeAsset)_%(ShimComponents.Platform)"
|
||||
<SignedPackageFile Include="%(ShimComponents.DllLocation)"
|
||||
PackagePath="contentFiles/any/any/%(ShimComponents.Platform)/%(ShimComponents.PackageSubPath)%(ShimComponents.NativeAsset).dll"
|
||||
Certificate="Microsoft" />
|
||||
Certificate="$(AssemblySigningCertName)" />
|
||||
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
|
Загрузка…
Ссылка в новой задаче