Skip to content

Conversation

@dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Dec 9, 2025

Fixes

Pipeline failures of #11288

Description

This PR consists of three small sections :

  1. Updated the MSVC Toolset from v143 to v145 in Wpf.Cpp.props and VSRuntime.vcxproj
  2. Update the WindowsTargetPlatformVersion in Wpf.Cpp.props to use the supported version of Windows SDK. Updated wpf.vsconfig for the same.
  3. Updated the pipeline images being used from windows.vs2022.amd64 to windows.vs2026preview.scout.amd64 for repo-specific files.

Customer Impact

CI Builds will work as expected

Regression

No

Testing

--

Risk

Minimal

Microsoft Reviewers: Open in CodeFlow

@dipeshmsft dipeshmsft requested a review from a team as a code owner December 9, 2025 13:32
Copilot AI review requested due to automatic review settings December 9, 2025 13:32
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Dec 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the WPF build infrastructure from Visual Studio 2022 to Visual Studio 2026 preview to resolve pipeline failures. The changes ensure compatibility with the newer toolchain and SDK versions required for VS 2026.

Key changes include:

  • Upgrading MSVC toolset from v143 (VS 2022) to v145 (VS 2026)
  • Updating Windows SDK from version 10.0.19041.0 to 10.0.26100.0 (Windows 11 24H2)
  • Migrating Azure pipeline agents to windows.vs2026preview.scout.amd64 images

Reviewed changes

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

Show a summary per file
File Description
eng/WpfArcadeSdk/tools/Wpf.Cpp.props Updates PlatformToolset to v145 and WindowsTargetPlatformVersion to 10.0.26100.0
src/Microsoft.DotNet.Wpf/redist/VCRuntime/VCRuntime.vcxproj Updates VCRedist CRT folder references from VC143 to VC145
azure-pipelines.yml Updates internal build agent image to VS 2026 preview
azure-pipelines-pr.yml Updates both public and internal PR build agent images to VS 2026 preview
Documentation/wpf.vsconfig Adds Windows 11 SDK 26100 component while retaining Windows 10 SDK 19041

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

<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v145</PlatformToolset>

<!-- 17134 is Windows 10 v1903 (19H1) SDK -->
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

The comment is outdated and inaccurate. The SDK version 17134 corresponds to Windows 10 v1803 (April 2018 Update, not v1903), and the code now uses version 10.0.26100.0 which is the Windows 11 24H2 SDK. Please update the comment to accurately reflect the current SDK version, e.g., <!-- 26100 is Windows 11 24H2 SDK -->

Suggested change
<!-- 17134 is Windows 10 v1903 (19H1) SDK -->
<!-- 26100 is Windows 11 24H2 SDK -->

Copilot uses AI. Check for mistakes.
<VCProjectVersion>15.0</VCProjectVersion>
<CharacterSet>Unicode</CharacterSet>

<!-- v143 = Visual Studio 2022 -->
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

The comment still references Visual Studio 2022, but the toolset has been updated to v145 which corresponds to Visual Studio 2026. Please update the comment to reflect this change, e.g., <!-- v145 = Visual Studio 2026 -->

Suggested change
<!-- v143 = Visual Studio 2022 -->
<!-- v145 = Visual Studio 2026 -->

Copilot uses AI. Check for mistakes.
harshit7962
harshit7962 previously approved these changes Dec 9, 2025
Copy link
Member

@harshit7962 harshit7962 left a comment

Choose a reason for hiding this comment

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

Changes LGTM, comments might need changes (as pointed out by GH copilot)

${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022.amd64.Open
demands: ImageOverride -equals windows.vs2026preview.scout.amd64.Open

Choose a reason for hiding this comment

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

Is the only preview version available ?

Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants