Disable workload resolver for net472 bootstrap too (#10112)

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.
This commit is contained in:
Rainer Sigwald 2024-05-06 21:29:26 -05:00 коммит произвёл GitHub
Родитель 25ca7aabe8
Коммит ace4e4f388
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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">