Skip to content

Update Windows build images from 2019 to 2022#66761

Merged
wtgodbe merged 10 commits into
dotnet:release/2.3from
wtgodbe:wtgodbe/update-images-2.3
May 20, 2026
Merged

Update Windows build images from 2019 to 2022#66761
wtgodbe merged 10 commits into
dotnet:release/2.3from
wtgodbe:wtgodbe/update-images-2.3

Conversation

@wtgodbe

@wtgodbe wtgodbe commented May 20, 2026

Copy link
Copy Markdown
Member

Replace all references to 1es-windows-2019 (and 1es-windows-2019-open) with 1es-windows-2022 (and 1es-windows-2022-open) in .azure/pipelines/.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 20, 2026 19:20
@wtgodbe wtgodbe requested a review from a team as a code owner May 20, 2026 19:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Azure Pipelines job definitions to use the newer 1ES Windows 2022 build images instead of the Windows 2019 images, aligning the repo’s CI/build infrastructure with updated hosted agent environments.

Changes:

  • Updated the default Windows job pool configuration to use 1es-windows-2022 / 1es-windows-2022-open.
  • Updated Windows pool image references across CI stages/jobs in .azure/pipelines/ci.yml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.azure/pipelines/jobs/default-build.yml Switches public/internal Windows pool image selection to Windows 2022 equivalents.
.azure/pipelines/ci.yml Updates Windows image references for SDL source analysis and multiple Windows jobs to 1es-windows-2022.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label May 20, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

wtgodbe and others added 2 commits May 20, 2026 12:40
@wtgodbe wtgodbe force-pushed the wtgodbe/update-images-2.3 branch from 2ceb0c4 to fda52b2 Compare May 20, 2026 19:56
wtgodbe and others added 7 commits May 20, 2026 12:58
Use demands list pattern for public pool (matching AspNetWebStack),
and revert sourceAnalysisPool to 1es-windows-2022.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The windows.vs2019.amd64 images don't have Visual Studio installed,
so KoreBuild can't find MSBuild. Add a step to download an xcopy-able
MSBuild (RoslynTools.MSBuild 17.8.5) and put it on PATH before the
build runs.

Script borrowed from aspnet/AspNetWebStack (PR dotnet#442).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the xcopy MSBuild installation steps (KoreBuild doesn't use
PATH to find MSBuild). Add a diagnostic step to default-build.yml
that prints vswhere output so we can see what VS/Build Tools are
available on the image and update korebuild.json requirements to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The windows.vs2019.amd64 image has Windows10SDK.19041 installed, not
Windows10SDK.17134. Update korebuild.json to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The windows.vs2019.amd64 image has Windows10SDK.19041, not 17134.
Update both ANCM V1 vcxprojs to target the available SDK.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wtgodbe wtgodbe merged commit c4c1da3 into dotnet:release/2.3 May 20, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants