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)" />
|
<PackageDownload Include="@(BundledManifestsForPackageDownload)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<BundledManifests Update="@(BundledManifests)" >
|
||||||
|
<RestoredNupkgContentPath>$(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())/$([MSBuild]::ValueOrDefault('%(Version)', '').ToLower())</RestoredNupkgContentPath>
|
||||||
|
</BundledManifests>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<Target Name="LayoutManifests"
|
<Target Name="LayoutManifests"
|
||||||
DependsOnTargets="LayoutManifestsForSDK;LayoutManifestsForMSI" />
|
DependsOnTargets="LayoutManifestsForSDK;LayoutManifestsForMSI" />
|
||||||
|
|
||||||
|
@ -60,13 +66,11 @@
|
||||||
</GenerateGuidFromName>
|
</GenerateGuidFromName>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundledManifests Update="@(BundledManifests)" >
|
|
||||||
<RestoredNupkgContentPath>$(NuGetPackageRoot)%(Identity)/%(Version)</RestoredNupkgContentPath>
|
|
||||||
</BundledManifests>
|
|
||||||
|
|
||||||
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\**\*.json;%(BundledManifests.RestoredNupkgContentPath)\**\*.targets"
|
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\**\*.json;%(BundledManifests.RestoredNupkgContentPath)\**\*.targets"
|
||||||
DestinationPath="%(WorkloadManifestId)/"/>
|
DestinationPath="%(WorkloadManifestId)/"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Error Text="No workload manifest content found." Condition="'@(ManifestContent->Count())' == '0'" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue