Skip to content

Commit

Permalink
Disable workload resolver for net472 bootstrap too (#10112)
Browse files Browse the repository at this point in the history
This has been long done for .NET (core); extend it
to the location that the .NET Framework copy of
the SDK resolver looks for it too.

Closes #7988.
  • Loading branch information
rainersigwald authored May 7, 2024
1 parent 25ca7aa commit ace4e4f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eng/BootStrapMsBuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@
DestinationFiles="@(FreshlyBuiltProjects -> '$(BootstrapDestination)$(TargetMSBuildToolsVersion)\Bin\arm64\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />

<!-- Disable workload resolver until we can figure out whether it can work in the bootstrap
https://github.com/dotnet/msbuild/issues/6566 -->
<MakeDir Directories="$(BootstrapDestination)$(TargetMSBuildToolsVersion)\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver" />
<Touch Files="$(BootstrapDestination)$(TargetMSBuildToolsVersion)\Bin\SdkResolvers\Microsoft.DotNet.MSBuildSdkResolver\DisableWorkloadResolver.sentinel"
AlwaysCreate="true" />
</Target>

<Target Name="BootstrapNetCore" DependsOnTargets="CleanBootstrapFolder">
Expand Down

0 comments on commit ace4e4f

Please sign in to comment.