Skip to content

♥️ Drop support for the WPF targets #23260

Closed

Description

@MartinZikmund

Summary

This issue tracks the removal of the WPF target (Uno.WinUI.Skia.Wpf / Uno.WinUI.Runtime.Skia.Wpf) and the WPF Islands feature (Uno.WinUI.XamlHost.Skia.Wpf) from Uno Platform.

This is an intentional breaking change. The WPF-based Skia desktop runtime is being superseded by the native Skia Desktop runtimes (X11, macOS, Win32, Linux FrameBuffer), which have become the recommended way to run Uno applications on desktop platforms.

Motivation

  • The native Skia Desktop runtimes (Uno.WinUI.Runtime.Skia.Win32, .X11, .MacOS, .Linux.FrameBuffer) now provide superior performance, smaller deployment footprint, and broader cross-platform reach than the WPF-based variant.
  • Maintaining the WPF runtime adds significant complexity to the build, packaging and CI pipeline for a target that is no longer recommended for new applications.
  • The WPF Islands feature (UnoXamlHost) only ever worked on Windows and added a substantial maintenance burden for a relatively small consumer base.

Scope

Removed

  • Uno.WinUI.Skia.Wpf and Uno.WinUI.Runtime.Skia.Wpf NuGet packages and underlying projects.
  • Uno.WinUI.XamlHost.Skia.Wpf (WPF Islands UnoXamlHost control) NuGet package and project.
  • WPF-based sample and template projects (UnoIslands.Skia.Wpf, UnoIslandsSamplesApp.Skia.Wpf, *.Skia.WPF solution-template heads).
  • RuntimeTestPlatforms.SkiaWpf and UnoTarget.SkiaWpf enum values.
  • WPF-specific build properties (NetPreviousWpf, NetCurrentWpf, NetWpfPreviousAndCurrent), CI stages, solution-filter entries and labeler rules.
  • WPF-only MSBuild workaround targets (_UnoRemoveTransitiveWPFDependency, _UnoRemoveRuntimeFrameworkInRuntimeConfigurationFiles).
  • doc/articles/guides/uno-islands.md (the WPF Islands guide).

Kept

  • The cross-platform Uno.UI.XamlHost base library and its non-WPF samples (UnoIslands.Skia, UnoIslandsSamplesApp.Skia).
  • doc/articles/wpf-migration.md and doc/articles/wpf-winui-equivalents.md — these help WPF developers adopt Uno/WinUI and remain valuable independently of Uno's WPF target.
  • _UnoWebView2RemoveWpf MSBuild target — kept defensively because Microsoft.Web.WebView2 still ships a WPF variant that can leak in via transitive NuGet references.

Migration guidance

Apps currently targeting Uno.WinUI.Skia.Wpf should migrate to one of the native Skia Desktop runtimes:

  • Windows: Uno.WinUI.Runtime.Skia.Win32
  • Linux: Uno.WinUI.Runtime.Skia.X11 or Uno.WinUI.Runtime.Skia.Linux.FrameBuffer
  • macOS: Uno.WinUI.Runtime.Skia.MacOS

The recommended path is to use the unified net*-desktop TFM with the Uno SDK, which automatically pulls in all desktop runtimes.

Apps using UnoXamlHost to embed Uno controls inside an existing WPF app must rehost into a standalone Uno application using one of the native Skia desktop runtimes.

Activity

  1. changed the title [-]Drop support for the WPF target and WPF Islands feature[/-] [+]Drop support for the WPF targets[/+] on May 13, 2026
  2. added 2 commits that reference this issue on May 22, 2026
    c752bf1
    ba3adb4
  3. added 2 commits that reference this issue on Jun 9, 2026
    ddf8406
    b21b373
  4. added this to the Platform 6.7 milestone on Jul 27, 2026
  5. changed the title [-]Drop support for the WPF targets[/-] [+]♥️ Drop support for the WPF targets[/+] on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions