All projects

WPF, beyond Windows

LibreWPF

Keep the WPF programming model. Change the platform beneath it.

StatusPreview
TierFlagship
DomainFrameworks
Repositorywieslawsoltes/LibreWPF

A portable WPF runtime and SDK retaining managed WPF source and XAML while adding ProGPU/WebGPU composition, portable DPI and display metrics, native popups, rich-text fallback, and typed diagnostics.

LibreWPF keeps the WPF application model and redirects the platform below it. Transported managed sources, the package SDK, retained ProGPU composition, portable display metrics and DPI, Cocoa and XWayland window behavior, popups, rich-text fallback, and typed diagnostics keep expanding the compatibility lane beyond Windows.

01

Source-compatible WPF XAML

02

macOS, Linux, and Windows

03

ProGPU/WebGPU composition

04

Portable SDK switch, DPI, popups, and rich text

Where it fits.

  • WPF maintainers evaluating a portable future
  • Framework engineers studying compatibility layers
  • Desktop teams with deep WPF domain investment
WPF source/XAML

Primary goal

Windows

Preview

macOS

Preview

Linux

Preview

Real output,
not a mockup.

LibreWPF GitHub repository preview
The LibreWPF repository contains the current source, samples, releases, and issue history.

Clear layers.
Replaceable seams.

01

Application

A familiar public programming model defines the app.

02

Framework

Managed services coordinate layout, input, resources, and lifecycle.

03

Platform

Portable adapters connect rendering and operating-system services.

SDK switchmigration entry point
Managed WPFfamiliar programming model
ProGPUportable compositor
LiveGitHub metadata

From package
to first frame.

Choose the package workflow used by your repository, then start from the smallest working example. Replace VERSION with the current stable or prerelease version shown on NuGet.

01 · Install
Terminal
<Project Sdk="LibreWPF.Sdk/0.1.0-preview.43">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>
02 · Use · bash
Terminal
dotnet restore
dotnet run

Start focused.
Compose as needed.

The repository is the source of truth.

Use the current documentation and samples, inspect changes, report issues, or support continued open-source maintenance.

LibreWinForms

Search everything.

Loading the index…

move open esc close

Preparing metadata and full-text search…