NetForms.Drawing
0.1.0-preview.4
See the version list below for details.
dotnet add package NetForms.Drawing --version 0.1.0-preview.4
NuGet\Install-Package NetForms.Drawing -Version 0.1.0-preview.4
<PackageReference Include="NetForms.Drawing" Version="0.1.0-preview.4" />
<PackageVersion Include="NetForms.Drawing" Version="0.1.0-preview.4" />
<PackageReference Include="NetForms.Drawing" />
paket add NetForms.Drawing --version 0.1.0-preview.4
#r "nuget: NetForms.Drawing, 0.1.0-preview.4"
#:package NetForms.Drawing@0.1.0-preview.4
#addin nuget:?package=NetForms.Drawing&version=0.1.0-preview.4&prerelease
#tool nuget:?package=NetForms.Drawing&version=0.1.0-preview.4&prerelease
NetForms — Windows Forms for Windows and Linux
NetForms is System.Windows.Forms and System.Drawing for .NET 10 that runs the same on Windows and
Linux. Same namespaces, same Program.cs → Application.Run(new MainForm()), same
MainForm.cs + MainForm.Designer.cs with InitializeComponent(). Your WinForms code compiles
against it without changes.
Controls are painted by NetForms itself with SkiaSharp. Avalonia 12 is used only to reach the OS (windows, input, IME, clipboard, native dialogs, DPI). Avalonia types never appear in the API.
Use it
Replace UseWindowsForms in your project file with a package reference:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NetForms" Version="0.1.0-preview.4" />
<Using Include="System.Drawing" />
<Using Include="System.Windows.Forms" />
</ItemGroup>
</Project>
Or let the converter do it and tell you what will not carry over:
dotnet tool install -g NetForms.Convert --prerelease
netforms-convert MyApp.csproj # report only
netforms-convert MyApp.csproj --apply # rewrite the project (the original is kept as .winforms.bak)
New project from a template:
dotnet new install NetForms.Templates::0.1.0-preview.4
dotnet new netforms -n MyApp
Packages
| Package | What it is |
|---|---|
NetForms |
What an application references. Brings the rest. |
NetForms.Drawing |
System.Drawing on SkiaSharp. |
NetForms.Drawing.Common |
Type-forwarding System.Drawing.Common facade (resources and libraries that name it). |
NetForms.Platform, NetForms.Platform.Avalonia |
The platform layer. |
NetForms.Templates |
dotnet new netforms, netforms-form, netforms-usercontrol. |
NetForms.Convert |
netforms-convert, a .NET tool that moves a WinForms project to NetForms. |
Requirements
- .NET 10 SDK. The target framework is
net10.0(notnet10.0-windows). - Windows 10+ (x64, arm64) or Linux with X11 or XWayland (x64, arm64). macOS is not a goal of this release.
- .NET Framework projects (old
.csprojformat,packages.config) are rewritten to SDK style bynetforms-convertitself. - Third-party WinForms control packages from NuGet do not work yet (they compile against the real,
strong-named
System.Windows.Forms).
Documentation
Website and documentation (English and Russian): https://go-forms.github.io/.NetForms/. Installing on Windows and each Linux family: https://go-forms.github.io/.NetForms/docs/install.html.
The API is the WinForms API, documented by Microsoft at https://learn.microsoft.com/dotnet/desktop/winforms/ and https://learn.microsoft.com/dotnet/api/system.windows.forms. What NetForms implements, what it does not yet, and where it differs on purpose: https://go-forms.github.io/.NetForms/docs/compatibility.html.
MIT licensed. Source, issues and the visual designer for VS Code: https://github.com/Go-Forms/.NetForms.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- SkiaSharp (>= 3.119.4)
- SkiaSharp.NativeAssets.Linux (>= 3.119.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NetForms.Drawing:
| Package | Downloads |
|---|---|
|
NetForms.Drawing.Common
System.Drawing.Common type-forwarding facade of NetForms: code and resources that name System.Drawing.Common bind to NetForms.Drawing. |
|
|
NetForms
System.Windows.Forms, cross-platform: own Control tree, own painting via SkiaSharp, Avalonia as the platform layer. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.6 | 0 | 9/25/2026 |
| 0.1.0-preview.5 | 0 | 9/25/2026 |
| 0.1.0-preview.4 | 25 | 9/25/2026 |
| 0.1.0-preview.3 | 41 | 9/24/2026 |
| 0.1.0-preview.2 | 37 | 9/24/2026 |
| 0.1.0-preview.1 | 38 | 9/24/2026 |