Skip to content

Windows App SDK 2.7.0

Latest

Choose a tag to compare

@agniuks agniuks released this 17 Nov 23:18
85b42a6

Windows App SDK 2.7.0 brings GPU support and richer diagnostics to the on-device language model, updates ONNX Runtime, and fixes issues across input, text controls, styling, windowing, and ARM64EC app startup.

What's new in WinAppSDK 2.7.0:

  • GPU support for LanguageModel. The language model can now run on devices with a compatible GPU.
  • LoRA adapter compatibility and model identity. New LanguageModelLowRankAdapterResult.Status and LanguageModel.ModelName / ModelVersion properties help apps pick the right adapter and identify compatibility warnings or loading failures. Availability of model identity and detailed compatibility results depends on the installed AI components.
  • Clearer GPU resource errors. New LanguageModelResponseStatus.InsufficientVideoRam and LanguageModelResponseStatus.BlockedByGameMode values tell apps when GPU inference stops because video memory is low or Game Mode is active.
  • Updated ONNX Runtime. ONNX Runtime is updated to 1.28.3, and the Windows ML dependency is updated to 2.5.96. See ONNX Runtime versions for more info.

Bug fixes

Bug fix Runtime Compatibility Change
Fixed an input offset in DPI-aware apps when CompositionEngineType.System is selected. InputPointerSource_SystemEngineDPIOffset
Fixed the Text Cursor Indicator not appearing immediately when an empty TextBox or RichEditBox receives focus. WinUI_TextCursorIndicatorForEmptyTextControl
Fixed ContentDialog entrance animations not playing and MenuFlyout items incorrectly showing tooltips when XamlChangeId.OptimizeApplyStyles is enabled (microsoft/microsoft-ui-xaml#11257). Xaml_OptimizeApplyStylesApplyTemplate
Fixed a crash when reading Window.DispatcherQueue from a background thread after the window's XAML thread shuts down. Window_DispatcherQueueAfterXamlShutdown
Fixed a LanguageModel streaming crash when the session host terminates and improved recovery for eligible requests that fail before any response is returned. LanguageModel_StreamingAndHostExitRecovery
Fixed an issue that prevented ARM64EC applications from starting on ARM64 Windows because the runtime could not resolve the TransformPoint entry point (microsoft/WindowsAppSDK#6911). N/A, DLL import resolution occurs before runtime containment can execute
Fixed first-chance exceptions in default ScrollBar templates when DefaultStyleOptimizations is enabled. N/A, default template change in a .xaml file

For details, see the full Windows App SDK 2.7.0 release notes.

Try it out

Getting started

To get started using Windows App SDK to develop Windows apps, check out the following documentation: