A Microsoft Windows App SDK 2.7.1 preview promo shows a laptop running a WinUI data table app, with CMake and on-device AI branding.
Windows App SDK 2.7 Experimental (2.7.1-experimental) is out. It's a developer pre-release, not a Windows feature update. It's worth a look for anyone building WinUI 3 apps, using on-device AI APIs, or wrestling a C++ project into CMake. It's also a release where you should read the migration notes before you click "update".

A Microsoft Windows App SDK 2.7.1 preview promo shows a laptop running a WinUI data table app, with CMake and on-device AI branding. What was released​

Microsoft's developer "what's new" page listed 2.7.0 as the latest stable release and 2.6.6-experimental as the latest experimental one shortly before this drop. The 2.7.1-experimental build, which GitHub flags as a pre-release, is the next step on the experimental track. It was published on December 1, 2026, under the tag v2.7.1-exp.

Microsoft says it follows Windows App SDK 2.7.0 stable and generally carries that release's changes forward, with experimental-only additions on top. The build is distributed as the 2.7.1-experimental NuGet package. Microsoft also points developers to the WinUI Gallery for the UI changes and to new CMake metapackage samples.

The experimental caveat​

Microsoft's guidance on the experimental channel is consistent. Experimental APIs can change and aren't intended for production apps. Older documentation goes further. Experimental APIs are especially subject to change, and features may be removed in the next release or never ship. That documentation, written for the 1.0 era, also said apps using experimental releases can't be published to the Microsoft Store. Check whether that still holds for 2.x before you plan a ship date.

Treat this as a test-bench build.

What's new​

Window placement persistence​

A new experimental Window.PlacementId property lets WinUI apps persist and restore window placement across sessions. The release notes don't spell out the mechanism or requirements. Don't assume windows are remembered automatically with no app involvement. Microsoft's wording is that the property enables apps to do it. The feature is tracked in microsoft-ui-xaml issue 2680.

TableView column headers and auto-fit​

The experimental TableView control gets more polish:

  • TableView.ColumnHeaderStyle and TableViewColumn.HeaderStyle allow header customization.
  • A new TableViewColumnHeader control is added.
  • Double-clicking a column auto-fits it.

A separate fix covers TableView interaction, sizing, accessibility, editing and source-lifetime problems. Its compatibility identifier is TableView_TabularBinaryActivation. The related XAML repo items are 12307, 12485 and 12474.

App Content Search changes (breaking for early adopters)​

This is the section to read carefully if you've coded against the earlier experimental API.

  • AppContentIndexer.RequiresContentRepopulation and ClearRequiresContentRepopulation track when content must be repopulated after corruption recovery.
  • GetOrCreateIndexResult.WasRecoveredFromCorruption replaces GetOrCreateIndexStatus.RecoveredFromCorruption.
  • BatchAddOrUpdate now reports per-item partial results through BatchAddOrUpdateResult and BatchAddOrUpdateItemResult. A batch is no longer all-or-nothing from the caller's point of view.
  • Static boosts move to AppContentIndexer.SetContentStaticBoost and SetRegionStaticBoost. The StaticBoost property is removed from IndexableAppContent and AppIndexContentRegion.

Expect compile errors if your code touches the renamed or removed members.

Video Scaling API​

  • Device selection now uses the shared AIComputeDevice enum.
  • NV12 color values are aligned with Media Foundation.
  • Microsoft states that apps using the previous experimental API must update and rebuild.
  • Persistent compiled-model caching is on by default on eligible NPU paths. It has improved resilience and no longer depends on a generative-AI capability check.
  • The notes also mention Gaming-scenario gains on supported AMD integrated GPUs and retuned camera stabilization.

The notes give no device models, benchmark figures or full eligibility criteria. Don't assume these gains apply to your hardware.

CMake metapackage​

C++ developers can consume the whole SDK from CMake with two lines:

Code:
find_package(Microsoft.WindowsAppSDK CONFIG REQUIRED)
target_link_libraries(<target> Microsoft.WindowsAppSDK)

Microsoft says this brings transitive component restore and per-target deployment configuration through WindowsPackageType and WindowsAppSDKSelfContained. It is powered by NuGetCMakePackage. CMake support first appeared experimentally in 2.0.0-experimental7 and was described as under active development. The new samples cover four deployment modes. The notes don't list them, so check the samples. You still have to pick and configure a deployment mode.

Bug fixes and compatibility identifiers​

ChangeRuntime compatibility identifier
New Width, Height, MinWidth, MinHeight, MaxWidth and MaxHeight on Microsoft.UI.Xaml.WindowWinUI_WindowWidthHeight
TableView interaction, sizing, accessibility, editing and lifetime fixesTableView_TabularBinaryActivation
MenuFlyout no longer raises the UI Automation MenuOpened event when an Opening handler cancels the open via HideMenuFlyout_NoMenuOpenedOnCanceledOpening
Fixes for missing system backdrops and crashes with unsupported cross-thread backdrop targets across composition enginesSystemBackdrops_SwitcherCompatibility

The identifiers matter because they tie into Windows App SDK's compatibility options. These let apps control how servicing changes affect them. Microsoft introduced CompatibilityOptions in the 1.7 timeframe for this purpose.

The MenuFlyout fix is the one to check if you run UI automation or accessibility tooling. Tests that expected a MenuOpened event from a canceled flyout will now behave differently.

Should you upgrade?​

  • Production apps: Stay on stable 2.7.0.
  • Prototype or spike projects: Try it. TableView, window sizing and CMake are all worth evaluating.
  • Anyone on earlier experimental Video Scaling or App Content Search APIs: Budget time for code changes and a full rebuild.
  • Accessibility and UI automation teams: Retest anything that depends on flyout events or TableView behavior.

A sensible approach is to create a branch and bump the package to 2.7.1-experimental. Fix compile breaks in the App Content Search and Video Scaling code first. Then validate the UI changes in WinUI Gallery before touching shared code.

This isn't a glamorous release, but experimental builds like this show where WinUI and the AI-adjacent APIs are heading. It also shows that Microsoft is still smoothing out the build tooling for C++ developers.

 

References

  1. Experimental channel release notes for the Windows App SDK 1.0 - Windows apps learn.microsoft.com
  2. What's new: SDK, WinUI, tools - Windows apps learn.microsoft.com