Fix the logic that generates the fallback text file
This commit is contained in:
parent
65bbb444f8
commit
9979d00dd5
1 changed files with 5 additions and 1 deletions
|
@ -463,9 +463,13 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="CopyIncludedWorkloadManifestFile" >
|
||||
|
||||
<ItemGroup>
|
||||
<WorkloadManifestFilesContent Include="$([MSBuild]::ValueOrDefault('%(BundledManifests.WorkloadManifestId)', '').ToLower())" />
|
||||
<WorkloadManifestFilesContent Include="$([MSBuild]::ValueOrDefault('%(BundledManifests.Identity)', '').ToLower())" />
|
||||
</ItemGroup>
|
||||
|
||||
<Error Text="No workload manifest content found." Condition="'@(WorkloadManifestFilesContent->Count())' == '0'" />
|
||||
|
||||
<WriteLinesToFile File="$(SdkOutputDirectory)IncludedWorkloadManifests.txt"
|
||||
Lines="@(WorkloadManifestFilesContent)"
|
||||
Overwrite="true" />
|
||||
|
|
Loading…
Add table
Reference in a new issue