Merge pull request #10015 from sfoslund/linuxManifests
Fix workload manifest generation to handle case sensitive file systems
This commit is contained in:
commit
ee59b48e7b
1 changed files with 8 additions and 4 deletions
|
@ -18,6 +18,12 @@
|
|||
<PackageDownload Include="@(BundledManifestsForPackageDownload)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BundledManifests Update="@(BundledManifests)" >
|
||||
<RestoredNupkgContentPath>$(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())/$([MSBuild]::ValueOrDefault('%(Version)', '').ToLower())</RestoredNupkgContentPath>
|
||||
</BundledManifests>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="LayoutManifests"
|
||||
DependsOnTargets="LayoutManifestsForSDK;LayoutManifestsForMSI" />
|
||||
|
||||
|
@ -60,13 +66,11 @@
|
|||
</GenerateGuidFromName>
|
||||
|
||||
<ItemGroup>
|
||||
<BundledManifests Update="@(BundledManifests)" >
|
||||
<RestoredNupkgContentPath>$(NuGetPackageRoot)%(Identity)/%(Version)</RestoredNupkgContentPath>
|
||||
</BundledManifests>
|
||||
|
||||
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\**\*.json;%(BundledManifests.RestoredNupkgContentPath)\**\*.targets"
|
||||
DestinationPath="%(WorkloadManifestId)/"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="No workload manifest content found." Condition="'@(ManifestContent->Count())' == '0'" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Reference in a new issue