From 4429ce9fb9b8d10cdcadc6d7063d1970ea32c712 Mon Sep 17 00:00:00 2001 From: Rainer Sigwald Date: Mon, 22 May 2023 10:36:46 -0500 Subject: [PATCH] Run release job on preview VS Move (only) the `Windows Full Release (no bootstrap)` leg to the `windows.vs2022preview.amd64.open` pool, which has Visual Studio 17.6 on it already. This will unblock #8674 by avoiding https://github.com/dotnet/sdk/issues/32691; the `MSBuild.exe.config` binding redirects in the 17.6 VS will keep the current versions working for the moment. --- .vsts-dotnet-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vsts-dotnet-ci.yml b/.vsts-dotnet-ci.yml index 8ff78b900be..38f88c99b08 100644 --- a/.vsts-dotnet-ci.yml +++ b/.vsts-dotnet-ci.yml @@ -100,7 +100,12 @@ jobs: - job: FullReleaseOnWindows displayName: "Windows Full Release (no bootstrap)" pool: - vmImage: 'windows-2022' + ${{ if eq(variables['System.TeamProject'], 'public') }}: + name: NetCore-Public + demands: ImageOverride -equals windows.vs2022preview.amd64.open + ${{ if ne(variables['System.TeamProject'], 'public') }}: + name: VSEngSS-MicroBuild2022-1ES + demands: agent.os -equals Windows_NT steps: - task: BatchScript@1 displayName: cibuild.cmd