diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73cb34c178..384ee54c0f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -275,7 +275,7 @@ stages: - job: Windows pool: # The PR build definition sets this variable: - # WindowsMachineQueueName=Build.Windows.10.Amd64.VS2019.Open + # WindowsMachineQueueName=Windows.vs2022.amd64.open # and there is an alternate build definition that sets this to a queue that is always scouting the # next preview of Visual Studio. name: NetCore1ESPool-Public diff --git a/eng/Build.ps1 b/eng/Build.ps1 index ce23ae7da0..23b98d8ded 100644 --- a/eng/Build.ps1 +++ b/eng/Build.ps1 @@ -454,6 +454,8 @@ try { $env:DOTNET_ROOT = "$dotnetPath" Get-Item -Path Env: + $env:NativeToolsOnMachine = $true + if ($bootstrap) { $script:BuildMessage = "Failure building bootstrap compiler" $bootstrapDir = Make-BootstrapBuild