Skip to content

Commit 2e1cfd6

Browse files
authored
Actually do the substitutions on the workloads flow (#812)
1 parent 3590d1c commit 2e1cfd6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

eng/nuget/Microsoft.NET.Workload.Emscripten.Current.Manifest/Microsoft.NET.Workload.Emscripten.Current.Manifest.pkgproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525

2626
<PropertyGroup>
2727
<WorkloadManifestPath>$(IntermediateOutputPath)WorkloadManifest.json</WorkloadManifestPath>
28+
<WorkloadManifestTargetsPath>$(IntermediateOutputPath)WorkloadManifest.targets</WorkloadManifestTargetsPath>
2829
</PropertyGroup>
2930

3031
<ItemGroup>
3132
<PackageFile Include="$(WorkloadManifestPath)" TargetPath="data" />
32-
<PackageFile Include="WorkloadManifest.targets" TargetPath="data" />
33+
<PackageFile Include="$(WorkloadManifestTargetsPath)" TargetPath="data" />
3334
</ItemGroup>
3435
</Target>
3536

@@ -50,6 +51,10 @@
5051
TemplateFile="WorkloadManifest.json.in"
5152
Properties="@(_WorkloadManifestValues->'%(Identity)=%(Value)')"
5253
OutputPath="$(WorkloadManifestPath)" />
54+
<GenerateFileFromTemplate
55+
TemplateFile="WorkloadManifest.targets.in"
56+
Properties="@(_WorkloadManifestValues->'%(Identity)=%(Value)')"
57+
OutputPath="$(WorkloadManifestTargetsPath)" />
5358
</Target>
5459

5560
<Import Project="$(NuGetPackageRoot)\microsoft.dotnet.build.tasks.packaging\$(MicrosoftDotNetBuildTasksPackagingVersion)\build\Microsoft.DotNet.Build.Tasks.Packaging.targets" />

0 commit comments

Comments
 (0)