Fix logic for putting the manifests in the right location.
This commit is contained in:
parent
6b9fa18ad7
commit
da4c6c0b23
1 changed files with 3 additions and 3 deletions
|
@ -82,19 +82,19 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\data\*"
|
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\data\*"
|
||||||
Condition="Exists('%(RestoredNupkgContentPath)\data')"
|
Condition="Exists('%(RestoredNupkgContentPath)\data')"
|
||||||
DestinationPath="$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())"
|
DestinationPath="%(FeatureBand)/$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())"
|
||||||
RestoredNupkgContentPath="%(RestoredNupkgContentPath)"
|
RestoredNupkgContentPath="%(RestoredNupkgContentPath)"
|
||||||
WorkloadManifestId="%(Identity)"/>
|
WorkloadManifestId="%(Identity)"/>
|
||||||
|
|
||||||
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\data\localize\*"
|
<ManifestContent Include="%(BundledManifests.RestoredNupkgContentPath)\data\localize\*"
|
||||||
Condition="Exists('%(RestoredNupkgContentPath)\data\localize')"
|
Condition="Exists('%(RestoredNupkgContentPath)\data\localize')"
|
||||||
DestinationPath="$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())/localize"/>
|
DestinationPath="%(BundledManifests.FeatureBand)/$([MSBuild]::ValueOrDefault('%(Identity)', '').ToLower())/localize"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Error Text="No workload manifest content found." Condition="'@(ManifestContent->Count())' == '0'" />
|
<Error Text="No workload manifest content found." Condition="'@(ManifestContent->Count())' == '0'" />
|
||||||
|
|
||||||
<Copy SourceFiles="@(ManifestContent)"
|
<Copy SourceFiles="@(ManifestContent)"
|
||||||
DestinationFolder="$(RedistLayoutPath)sdk-manifests/%(FeatureBand)/%(DestinationPath)"/>
|
DestinationFolder="$(RedistLayoutPath)sdk-manifests/%(DestinationPath)"/>
|
||||||
|
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue