Only write marker file for source-build, and use correct path

This commit is contained in:
Daniel Plaisted 2021-09-20 12:10:59 -07:00
parent a9e2a941da
commit c534227572

View file

@ -466,8 +466,9 @@
Overwrite="true" />
</Target>
<Target Name="LayoutWorkloadUserLocalMarker">
<WriteLinesToFile File="$(RedistLayoutPath)metadata/workloads/userlocal"
<Target Name="LayoutWorkloadUserLocalMarker"
Condition="'$(DotNetBuildFromSource)' == 'true'">
<WriteLinesToFile File="$(RedistLayoutPath)metadata/workloads/$(CliProductBandVersion)00/userlocal"
Overwrite="true" />
</Target>