Don't pack duplicate deps.json files in SiteExtension package (#22519)

* Don't pack duplicate deps.json files in SiteExtension package

* Change exclude
This commit is contained in:
William Godbe 2020-06-04 09:57:40 -07:00 committed by GitHub
parent 7df0a97d4c
commit e5a52c1f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@
<ItemGroup>
<!-- LB.csproj package content is bundled into this one. -->
<ContentFilesToPack Include="$(NugetPackageRoot)\%(PackageReference.Identity)\%(PackageReference.Version)\content\**\*.*" />
<!-- The x64 & x86 SiteExtension packages have identical deps.json files - we only include the x64 files to avoid build warnings -->
<ContentFilesToPack
Include="$(NugetPackageRoot)\%(PackageReference.Identity)\%(PackageReference.Version)\content\**\*.*"
Exclude="$(NugetPackageRoot)\Microsoft.AspNetCore.AzureAppServices.SiteExtension.*.x86\**\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json"/>
<!-- Temporarily skip the common files -->
<FilteredContentFilesToPack Include="@(ContentFilesToPack)" Condition="'%(RecursiveDir)' != ''" />