Skip to content

Update dependency Microsoft.WindowsAppSDK to v2#1776

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/microsoft.windowsappsdk-2.x
Open

Update dependency Microsoft.WindowsAppSDK to v2#1776
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/microsoft.windowsappsdk-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 29, 2026

This PR contains the following updates:

Package Change Age Confidence
Microsoft.WindowsAppSDK 1.8.2601010012.1.3 age confidence

Release Notes

microsoft/windowsappsdk (Microsoft.WindowsAppSDK)

v2.1.3: Windows App SDK 2.1.3

Windows App SDK 2.1.3

Windows App SDK 2.1.3 is the latest stable servicing release on the 2.x line, with new TitleBar drag-region APIs in WinUI, the LoRA API for Phi Silica promoted to the stable surface, a new Copilot+ PC detection API, expanded Windows ML execution-provider support, an ONNX Runtime update, and a batch of reliability fixes.

What's new in WinAppSDK 2.1.3:
  • TitleBar custom drag regions. TitleBar now recursively walks TitleBar.Content and automatically excludes interactive controls from the drag region while keeping empty gaps draggable by default. Three new APIs (TitleBar.IsDragRegion attached property, TitleBar.AutoRefreshDragRegions, and TitleBar.RecomputeDragRegions()) give developers explicit control when the default behavior isn't sufficient. See PR microsoft/microsoft-ui-xaml#10936 and tracking issue microsoft/microsoft-ui-xaml#10421.
  • Phi Silica LoRA API on the stable surface. Developers can now fine-tune the on-device Phi Silica language model with their own LoRA adapters from the stable API surface, using LanguageModelLowRankAdapter.CreateFromPath and LanguageModelOptions.LowRankAdapter. See Phi Silica LoRA for details.
  • AICapabilities.HasAICapability is a new API that lets third-party applications determine whether the device is a Copilot+ PC.
  • Windows ML execution-provider improvements. This release adds support for multiple execution providers within a single MSIX package, discovery of execution providers delivered as framework packages, and a new selection mode for more flexible deployment configurations.
  • The version of ONNX Runtime has been updated to 1.24.6.
Bug fixes:
Bug Fix Runtime Compatibility Change
Fixed a memory leak in ItemsRepeater where recycled elements were never garbage collected due to a reference cycle through the RecyclePool, which could also cause crashes in InvalidateChildrenMeasure. ItemTemplateWrapper_RecyclePoolLeak
Fixed a crash where an implicit Show/Hide animation completion callback could access a destroyed CUIElement, causing an access violation. The callback now uses a weak reference to safely handle the case where the element is destroyed before the animation completes. Animation_FixImplicitHideAnimationCrash
Fixed an issue where windowed popup content opened in a XAML Island did not respect OverrideScale, causing content to appear oversized and clipped. See GitHub issue microsoft/microsoft-ui-xaml#11000. Popup_WindowedPopupOverrideScale
Fixed a fail-fast crash caused by re-entrant dispatch during cross-apartment COM release operations in UIAffinityReleaseQueue::DoCleanup. UIAffinityReleaseQueue_PauseDispatchDuringCleanup
Fixed ambiguous module lookup in WinUI when multiple modules with the same name are loaded in the same process. GetModuleHandleW has been replaced with GetModuleHandleExW so the correct module is resolved by address. GetModuleHandle_FixAmbiguousModuleLookup
Fixed an integer divide-by-zero crash in UniformGridLayout::GetMajorSize when an ItemsRepeater is laid out in an available width narrower than one item's minor stride. UniformGridLayout_GetItemsPerLineDivideByZero
Fixed a potential crash when a package has been uninstalled prior to being processed. PackageManager_FixCrash
Fixed an issue where GetReadyState could return incorrect error codes (for example, DisabledByUser or NotSupportedOnCurrentSystem) when required packages were not yet deployed. The API now correctly reports NotReady in this scenario, improving diagnostic clarity. ModelInitialization_GetReadyStateAvailabilityGuard
Fixed an issue where XAML compiler errors were silently lost when using dotnet build, showing only MSB3073: exited with code 1 instead of the actual error messages. See GitHub issue microsoft/microsoft-ui-xaml#9813. N/A, build-time XAML compiler tooling change

To see everything that's new and changed, see the full Windows App SDK 2.1.3 release notes.

Try it out
  • Download the 2.1.3 NuGet package to use WinAppSDK 2.1 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:

v2.0.1: Windows App SDK 2.0 (2.0.1) 🎉

WinAppSDK 2.0 is the next major release of the Windows App SDK, the first major version update since 1.0 (November 2021) and the first release on the new Semantic Versioning scheme. It ships new XAML capabilities, a modernized Storage Pickers surface, expanded popup and anchoring APIs in Microsoft.UI.Content, a new package deployment and validation framework, a refactored Windows ML stack, and additions across the Windows AI surface.

What's new in WinAppSDK 2.0:
  • Semantic Versioning. Windows App SDK 2.0 standardizes on SemVer 2.0.0 and aligns the SDK version with the NuGet package version, so there's no separate date-based build number to track. The package family name now aligns with the major version, so the next side-by-side release will be 3.0.0.
  • WebView2 (WinUI 3) drag support. Dragging text, HTML, images, and URLs out of WebView2 content hosted in WinUI 3 is now supported, along with drag cancellation, custom drag visuals, and customizable drag data. (Requires WebView2 Runtime 144.0.3719.11 or higher.)
  • Package deployment and validation. The Microsoft.Windows.Management.Deployment namespace adds a new IPackageValidator framework with three built-in validators (PackageCertificateEkuValidator, PackageFamilyNameValidator, PackageMinimumVersionValidator), plus a new PackageVolume API for managing the storage volumes that packages are staged onto.
  • Windows ML refactor. Core Windows ML features have been refactored into a new base package, Microsoft.Windows.AI.MachineLearning, with a minimal set of dependencies that supports apps down to Windows 10 v1903. The existing Microsoft.WindowsAppSDK.ML package continues to support Windows 10 v1809. The included ONNX Runtime version has been updated to 1.24.5.
  • Windows AI additions. New AIFeatureReadyState values (CapabilityMissing, NotCompatibleWithSystemHardware, OSUpdateNeeded) help apps explain transient and durable failures during AI model acquisition so users get actionable guidance instead of a generic "not ready" condition. Phi Silica APIs are now enforced as part of a Limited Access Feature (LAF); see Phi Silica for details.
  • Storage Pickers updates. The Microsoft.Windows.Storage.Pickers API (introduced in 1.8) is extended with file type choice grouping, persistent settings identifiers, suggested start folders, custom titles, multi-folder picking, and more, across FileOpenPicker,
    FileSavePicker, and FolderPicker.
  • SystemBackdropElement is a new lightweight FrameworkElement that lets apps place a system backdrop such as Mica or Acrylic anywhere within the XAML layout, with a CornerRadius property for rounded backdrop areas. It closes a long-standing WinUI 3 gap where in-app acrylic effects (previously straightforward in WinUI 2 via AcrylicBrush.BackgroundSource) had no direct equivalent.
  • Custom XAML Conditionals (IXamlCondition) enable developers to define custom conditions that integrate with XAML's conditional namespace syntax and are evaluated at XAML parse time. This replaces the experimental IXamlPredicate interface and unlocks conditional XAML based on feature flags, device capabilities, business logic, configuration settings, and other runtime conditions.
  • Relative popup positioning in Microsoft.UI.Content. The new PopupAnchor API allows DesktopPopupSiteBridge to anchor to its owning window or island instead of being limited to absolute screen coordinates, with new AnchoringBehavior and AnchoringPixelAlignment properties to control the behavior.
Notable bug fixes:
  • Fixed an issue where the WindowsAppSDK installer showed no progress during installation, making it appear stalled. The installer now provides clearer progress feedback.
  • Fixed MSB8027 and LNK4042 build warnings caused by duplicate ClCompile items in Windows App SDK NuGet .targets files.
  • Fixed a ListView crash that could occur during keyboard navigation (Tab/Shift+Tab) after the items list was updated.
  • Fixed an issue where WinUI 3 could crash if focus was moved to the CoreWebView2Controller while the controller was not visible.
  • Fixed a Windows ML bug where calling RegisterCertifiedAsync again in the same process incorrectly returned 0 execution providers (EP).

To see everything that's new and changed, including upgrade guidance and known issues, see the full Windows App SDK 2.0 release notes.

Try it out
  • Download the 2.0.1 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:


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • "before 5:00am,before 10am,before 3pm,before 8pm"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/microsoft.windowsappsdk-2.x branch from a048664 to d4c99ee Compare May 22, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants