Disable workload bundled manifests for source-build (#12231)

This commit is contained in:
Michael Simons 2021-10-04 16:43:30 -05:00 committed by GitHub
parent 81a59580a7
commit 056d280d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
</ItemGroup>
<!-- Restore workload manifests via PackageReference -->
<ItemGroup>
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
<BundledManifestsForPackageDownload Include="@(BundledManifests)" >
<Version>[%(Version)]</Version>
</BundledManifestsForPackageDownload>
@ -26,7 +26,8 @@
</ItemGroup>
<Target Name="LayoutManifests"
DependsOnTargets="LayoutManifestsForSDK;LayoutManifestsForMSI" />
DependsOnTargets="LayoutManifestsForSDK;LayoutManifestsForMSI"
Condition="'$(DotNetBuildFromSource)' != 'true'"/>
<Target Name="LayoutManifestsForSDK"
DependsOnTargets="SetupBundledComponents;GenerateManifestVersions">