Skip to content

Bump Microsoft.WindowsAppSDK from 2.1.3 to 2.2.0#18570

Merged
yair100 merged 1 commit into
mainfrom
dependabot/nuget/Microsoft.WindowsAppSDK-2.2.0
Jun 10, 2026
Merged

Bump Microsoft.WindowsAppSDK from 2.1.3 to 2.2.0#18570
yair100 merged 1 commit into
mainfrom
dependabot/nuget/Microsoft.WindowsAppSDK-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.WindowsAppSDK from 2.1.3 to 2.2.0.

Release notes

Sourced from Microsoft.WindowsAppSDK's releases.

2.2.0

Windows App SDK 2.2.0

WinAppSDK 2.2.0 is the latest stable servicing release for 2.0, with a new Windows AI video upscaling API, a first-class ApplicationData entry point for unpackaged apps, additions to XamlBindingHelper, and a batch of WinUI and Windows ML reliability fixes.

What's new in WinAppSDK 2.2.0:

  • Video Super Resolution AI API. The new Microsoft.Windows.AI.Video.VideoScaler API delivers real-time video enhancement through advanced AI upscaling, optimized for streams featuring people in conversation. It enables developers to provide sharper, clearer visuals across conferencing, streaming, and editing platforms, even under poor network conditions. The API supports customization of output resolution, frame rate, and regions of interest, with compatibility for multiple video formats including BGR, RGB, and NV12. VideoScaler is disposable, and includes a capability check so apps can validate VSR support at runtime. Explicit Windows ML initialization is not required.
  • New ApplicationData API for unpackaged apps. Microsoft.Windows.Storage.ApplicationData.GetForUnpackaged() gives unpackaged apps a first-class WinRT entry point to per-user / per-machine application data, matching the surface previously available only to packaged apps. This simplifies future packaged ↔ unpackaged migration and removes the need for Registry-API workarounds.
  • New XamlBindingHelper APIs. Added boxing-free value setter overloads to XamlBindingHelper (SetPropertyFromThickness, SetPropertyFromCornerRadius, SetPropertyFromColor) and exposed the Setter.ValueProperty dependency property.

Bug fixes:

Bug fix Runtime Compatibility Change
Fixed a crash in RenderTargetBitmap when the target element leaves the visual tree (for example, a popup closes) before PreCommit completes. RenderAsync now returns E_ABORT instead of crashing. RenderTargetBitmap_PreCommitCrashOnTreeLeave
Fixed a use-after-free crash in ScrollView when the control is destroyed while its hide-indicators timer tick is still pending. See microsoft/microsoft-ui-xaml#​10514. ScrollView_HideIndicatorsTimerUseAfterFree
Fixed a potential crash in Microsoft.UI.Xaml.dll!DirectUI::DXamlCore::GetPeerPrivate caused by attempting to access an object scheduled to be freed. GetPeerPrivate_UseAfterFree
Fixed an issue where Microsoft.UI.System.ThemeSettings could crash an app if it was destroyed on a background thread (for example, when destroyed by the .NET garbage collector). ThemeSettings_OffThreadDestructorFix
Fixed a crash that could occur on certain devices when active touch contacts were canceled by input hardware, such as when pen input overrides them. InputPointerSource_PointerCancelCrashFix
Fixed an issue where sparse-packaged apps were unable to discover module-specific PRI files. See microsoft/WindowsAppSDK#​6375. MRTCore_SparsePackagedPriFallback
Fixed a string ownership bug when using the Flat-C Windows ML Catalog API. WindowsMLFlatCCatalog_CallbackStringOwnership
Fixed a potential issue in Windows ML during process shutdown. WindowsML_ComRundownFix
Fixed potential COM initialization and teardown issues in Windows ML. WindowsML_ComInitializationFix

New or updated APIs (since 2.1.3):

Microsoft.UI.Xaml

    Setter
        ValueProperty
Microsoft.UI.Xaml.Markup

    XamlBindingHelper
        SetPropertyFromColor
        SetPropertyFromCornerRadius
        SetPropertyFromThickness
Microsoft.Windows.AI.Video

    VideoScaler
    VideoScalerOptions
    VideoScalerResult
    VideoScalerStatus
Microsoft.Windows.Storage
 ... (truncated)

## 2.1.4-exp8

## Windows App SDK 2.1.4-Experimental8 (2.1.4-experimental8) 🧪

Windows App SDK 2.1 Experimental 8 ships alongside Windows App SDK 2.1.3 stable. It generally brings forward the changes in 2.1.3 (TitleBar custom drag-region APIs, the Phi Silica LoRA API on the stable surface, `AICapabilities.HasAICapability`, expanded Windows ML execution-provider support, ONNX Runtime 1.24.6, and the 2.1.3 bug fix batch) and adds one experimental-only refinement to the Phi Silica structured JSON output API.

### What's new in WinAppSDK 2.1 Experimental 8:

- **Strongly typed result and status for structured JSON responses [Experimental].** `LanguageModelExperimental.GenerateStructuredJsonResponseAsync` (introduced in 2.0 Experimental 7) now returns a dedicated `GenerateStructuredJsonResponseResult` type with a `GenerateStructuredJsonResponseStatus` property, instead of the generic `LanguageModelResponseResult` / `LanguageModelResponseStatus` pair. The new status enum is specific to schema-constrained generation: it includes a `ResponseInvalidJson` value for cases where the model output did not satisfy the requested JSON schema, separate from generic language-model response failures.
- As part of that split, the `ResponseInvalidJson` value has been **removed** from the stable `LanguageModelResponseStatus` enum. Apps that handled `ResponseInvalidJson` from `LanguageModelResponseStatus` should move that handling onto the new `GenerateStructuredJsonResponseStatus` returned by `GenerateStructuredJsonResponseAsync`.

### Brought forward from 2.1.3 stable

This experimental release also rolls forward the 2.1.3 stable changes, including the new TitleBar custom drag-region APIs, the Phi Silica LoRA API on the stable surface, `AICapabilities.HasAICapability`, the Windows ML execution-provider improvements, the ONNX Runtime 1.24.6 bump, and the full 2.1.3 bug fix batch. See the [Windows App SDK 2.1.3 release notes](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/release-notes/windows-app-sdk-2-0?pivots=stable#version-213-213) for details.

**To see everything that's new and changed, see the full [Windows App SDK 2.1 Experimental 8 release notes](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/release-notes/windows-app-sdk-2-0?pivots=experimental#version-21-experimental-8-214-experimental8).**

### Try it out
- Download the [2.1.4-experimental8 NuGet](https://www.nuget.org/packages/Microsoft.WindowsAppSDK/2.1.4-experimental8) package to use WinAppSDK 2.1 Experimental 8 in your app.

### Getting Started

To get started using Windows App SDK to develop Windows apps, check out the following documentation:
- [Install developer tools](https://docs.microsoft.com/windows/apps/windows-app-sdk/set-up-your-development-environment).
- [Create a WinUI 3 app](https://docs.microsoft.com/windows/apps/winui/winui3/create-your-first-winui3-app).
- [Continue your development journey](https://docs.microsoft.com/windows/apps/develop).


Commits viewable in [compare view](https://github.com/microsoft/windowsappsdk/compare/v2.1.3...v2.2.0).
</details>

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.WindowsAppSDK&package-manager=nuget&previous-version=2.1.3&new-version=2.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

---
updated-dependencies:
- dependency-name: Microsoft.WindowsAppSDK
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 10, 2026
@yair100 yair100 merged commit 8c05fa4 into main Jun 10, 2026
7 checks passed
@yair100 yair100 deleted the dependabot/nuget/Microsoft.WindowsAppSDK-2.2.0 branch June 10, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant