Skip to content

Upgrade Microsoft.WindowsAppSDK to 2.4.0 - #16400

Open
Vineeth (vineethkuttan) wants to merge 2 commits into
mainfrom
user/vineethkuttan/winappsdk2.0
Open

Upgrade Microsoft.WindowsAppSDK to 2.4.0#16400
Vineeth (vineethkuttan) wants to merge 2 commits into
mainfrom
user/vineethkuttan/winappsdk2.0

Conversation

@vineethkuttan

@vineethkuttan Vineeth (vineethkuttan) commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

Updating the WinAppSdk to 2.4.0

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

What

Updated WinAppSdk's version

Testing

Tested in playground working fine

Changelog

Should this change be included in the release notes: yes

Update WinAppSdk to 2.4.0.

Microsoft Reviewers: Open in CodeFlow

Copilot AI balanced review requested due to automatic review settings August 24, 2026 08:27

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

Upgrades the default Windows App SDK dependency to 2.4.0 across React Native Windows projects.

Changes:

  • Sets WinUI3Version to 2.4.0.
  • Regenerates NuGet lockfiles and transitive dependencies.
  • Adds release change records.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vnext/ReactCommon.UnitTests/packages.lock.json Updates test dependencies.
vnext/PropertySheets/WinUI.props Sets the default SDK version.
vnext/Mso.UnitTests/packages.lock.json Updates Mso test dependencies.
vnext/Microsoft.ReactNative/packages.lock.json Updates core library dependencies.
vnext/Microsoft.ReactNative.IntegrationTests/packages.lock.json Updates integration-test dependencies.
vnext/Microsoft.ReactNative.Cxx.UnitTests/packages.lock.json Updates C++ test dependencies.
vnext/Microsoft.ReactNative.CsWinRT/packages.lock.json Updates CsWinRT dependencies.
vnext/Desktop/packages.lock.json Updates Desktop dependencies.
vnext/Desktop.UnitTests/packages.lock.json Updates Desktop unit-test dependencies.
vnext/Desktop.IntegrationTests/packages.lock.json Updates Desktop integration dependencies.
vnext/Desktop.DLL/packages.lock.json Updates Desktop DLL dependencies.
packages/sample-custom-component/windows/SampleCustomComponent/packages.lock.json Updates sample dependencies.
packages/sample-app-fabric/windows/SampleAppFabric/packages.lock.json Updates Fabric sample dependencies.
packages/playground/windows/playground-composition/packages.lock.json Updates Playground dependencies.
packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/packages.lock.json Updates E2E app dependencies.
packages/@react-native-windows/automation-channel/windows/AutomationChannel/packages.lock.json Updates automation-channel dependencies.
change/react-native-windows-a2579388-59f6-4618-8629-114b10dfe1ba.json Adds the RNW change record.
change/@react-native-windows-automation-channel-3aa23ca2-2bfe-4418-bda5-c1897292c696.json Adds the automation-channel change record.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

<!-- This value is also used by the CLI, see /packages/@react-native-windows/cli/.../autolinkWindows.ts -->
<WinUI3Version Condition="'$(WinUI3Version)'=='' AND '$(UseExperimentalWinUI3)'=='true'">$(WinUI3ExperimentalVersion)</WinUI3Version>
<WinUI3Version Condition="'$(WinUI3Version)'==''">1.8.260508005</WinUI3Version>
<WinUI3Version Condition="'$(WinUI3Version)'==''">2.4.0</WinUI3Version>
Copilot AI review requested due to automatic review settings August 24, 2026 08:36
@vineethkuttan
Vineeth (vineethkuttan) force-pushed the user/vineethkuttan/winappsdk2.0 branch from 1212a22 to 129e2c1 Compare August 24, 2026 08:36

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

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

Suppressed comments (1)

vnext/PropertySheets/WinUI.props:13

  • The Desktop integration-test setup still installs Windows App Runtime 1.8.260508005 (.ado/jobs/desktop-single.yml:39-50), even though its own comment requires this value to match WinUI3Version. Builds now target 2.4.0, so framework-dependent test apps may fail to launch or continue testing against the wrong installed runtime. Update the installer URL and output filename to the 2.4.0 x64 runtime as part of this upgrade.

…talA (experimental)

Also removes a stale ARM64EC override in vnext/Directory.Build.targets that forced
Ixp-Platform=win10-x64 for Microsoft.WindowsAppSDK.InteractiveExperiences. Older
versions of that package shipped native libs under win10-<arch> folders, but the
version pulled in transitively by this upgrade (2.1.6) now ships plain <arch>
folders (x64/arm64/arm64ec/x86), including a genuine arm64ec folder. The stale
override caused LNK1181 failures when linking Desktop.DLL for ARM64EC/Release in CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 28, 2026 05:42
@vineethkuttan
Vineeth (vineethkuttan) force-pushed the user/vineethkuttan/winappsdk2.0 branch from 129e2c1 to 40c72d5 Compare August 28, 2026 05:42

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

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

Suppressed comments (1)

vnext/PropertySheets/WinUI.props:13

  • The Desktop CI setup still installs Windows App Runtime 1.8.260508005 in .ado/jobs/desktop-single.yml:39-50, whose comment requires it to match this property. Projects now target 2.4.0 and disable SDK auto-initialization below, so clean test agents can fail to launch the Desktop unit/integration binaries without the 2.4 runtime. Update that installer step to the corresponding 2.4 runtime as part of this upgrade.

Copilot AI review requested due to automatic review settings August 28, 2026 05:46

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

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

Suppressed comments (1)

vnext/PropertySheets/WinUI.props:13

  • The desktop CI template still installs Windows App SDK runtime 1.8.260508005 (.ado/jobs/desktop-single.yml:39-50), even though its comment requires this value to match WinUI3Version. Desktop tests now build against 2.4.0 and are not configured as self-contained, so they can fail to load the required runtime on a clean agent. Update that installer URL to the matching 2.4.0 x64 runtime as part of this version bump.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants