Update code signing config to exclude .js files in template packages

This commit is contained in:
Nate McMaster 2018-10-17 11:13:02 -07:00
parent b1363c88ef
commit 80d3bbfcc9
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
3 changed files with 12 additions and 2 deletions

View File

@ -1,2 +1,2 @@
version:2.2.0-preview1-20180928.5
commithash:43faa29f679f47b88689d645b39e6be5e0055d70
version:2.2.0-preview2-20181017.3
commithash:eebe76094b789cc4c641a1120a75195d58bf087c

View File

@ -10,6 +10,11 @@
To install the templates in this package, run 'dotnet new --install $(PackageId)::$(PackageVersion)'.</Description>
</PropertyGroup>
<ItemGroup>
<!-- We don't need to code sign these .js files because they are not used in Windows Script Host. -->
<ExcludePackageFileFromSigning Include="content\**\*.js" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- Set this last to ensure the properties get the final versions which may be overridden by CI. -->

View File

@ -10,6 +10,11 @@
<PackageTags>$(PackageTags);spa</PackageTags>
</PropertyGroup>
<ItemGroup>
<!-- We don't need to code sign these .js files because they are not used in Windows Script Host. -->
<ExcludePackageFileFromSigning Include="content\**\*.js" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- Set this last to ensure the properties get the final versions which may be overridden by CI. -->