microsoft/WindowsAppSDK v2.0-exp4
microsoft/WindowsAppSDK
Captured source
source ↗published Jan 13, 2026seen Jun 26captured 1whttp 200method plain
2.0 Experimental 4 (2.0.0-experimental4) 🧪
Repository: microsoft/WindowsAppSDK
Tag: v2.0-exp4
Published: 2026-01-13T22:42:50Z
Prerelease: yes
Release notes:
Windows App SDK 2.0-Experimental4 (2.0.0-experimental4)
WinAppSDK 2.0.0 Experimental 4 is the latest experimental version of WinAppSDK providing new features and improvements to the platform.
What's new in WinAppSDK 2.0 Experimental 4:
- Onnx Runtime updated to mainline version 1.24 for improved compatibility and stability.
- Decreased the size of Microsoft.Windows.AI.MachineLearning.dll by approximately 160 KB
- Introduced new APIs to lookup statistics of items being indexed.
- New support for query cancellation to allow apps to run a query and update it if there is a new query.
- Video Scaler is now disposable, improving resource management and lifecycle control.
- The Video Super Resolution model is now compiled and cached to improve performance and reduce repeated initialization costs.
- Removed the requirement for explicit WinML initialization when using Video Super Resolution.
- The FlowLayout control now uses ItemSpacing and LineSpacing terminology.
- The WrapPanel control now uses ItemSpacing and LineSpacing terminology.
- Implemented the IXamlPredicate interface to define custom predicates that integrate seemlessly with XAML's conditional namespace syntax.
- Added WinUI tools and scripts for use by external developers to build and test Windows.
- Deprecated the DependencyObject.Dispatcher API in WinUI.
- Deprecated the Window.Current API in WinUI.
- Deprecated FocusManager.GetFocusedElement API in WinUI.
- Renamed the SystemBackdropHost to SystemBackdropElement in WinUI.
- Renamed the Microsoft.Windows.AI.Search.Experimental.AppContentIndex namespace to Microsoft.Windows.Search.AppContentIndex.
Bugs fixed:
- Fixed “Class not registered” errors when using self-contained deployment with Windows ML. Developers using self-contained deployment no longer need to register all the Foundation package activatable classes that were used internally.
- Fixed a potential crash occurring on process shutdown when using Windows ML.
- Fixed the ImageForegroundExtractor API routing path so calls reach the correct endpoint.
- Ensured execution provider install and download progress is correctly forwarded to apps during package deployment.
- Fixed a crash in SystemBackdrop when the target disconnects by guarding invalid disconnection paths.
- Fixed an issue that prevented Windows AI APIs from being available for some devices.
To see everything that's new and changed, see the full [Windows App SDK 2.0 Experimental release notes](https://aka.ms/windowsappsdk/2.0/2.0.0-experimental4/release-notes).
Try it out
- Download the 2.0.0-experimental4 NuGet package to use WinAppSDK 2.0 in your app.
- Download and update the WinUI Gallery to see the WinUI 3 updates firsthand.
Getting Started
To get started using Windows App SDK to develop Windows apps, check out the following documentation: