Sdcb.MiniWinForm 0.1.8

Prefix Reserved
dotnet add package Sdcb.MiniWinForm --version 0.1.8
                    
NuGet\Install-Package Sdcb.MiniWinForm -Version 0.1.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sdcb.MiniWinForm" Version="0.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sdcb.MiniWinForm" Version="0.1.8" />
                    
Directory.Packages.props
<PackageReference Include="Sdcb.MiniWinForm" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sdcb.MiniWinForm --version 0.1.8
                    
#r "nuget: Sdcb.MiniWinForm, 0.1.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sdcb.MiniWinForm@0.1.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sdcb.MiniWinForm&version=0.1.8
                    
Install as a Cake Addin
#tool nuget:?package=Sdcb.MiniWinForm&version=0.1.8
                    
Install as a Cake Tool

Sdcb.MiniWinForm NuGet Downloads License: MIT

Sdcb.MiniWinForm is a small Win32 GUI toolkit for .NET Native AOT utilities.

The goal is simple: keep a programming model that feels familiar to WinForms, but make it practical to publish very small GUI executables for Windows. It is a good fit for launchers, helper tools, config editors, and other tiny desktop utilities where a full WinForms deployment is heavier than necessary.

Why this project exists

  • Native AOT is great for tiny tools, but adding a GUI often increases size and complexity.
  • WinForms has a productive API shape, and this project intentionally stays close to that style.
  • Sdcb.MiniWinForm focuses on the subset that is most useful for small tools instead of trying to be a full WinForms replacement.

Install

dotnet add package Sdcb.MiniWinForm

Quick example

using Sdcb.MiniWinForm;

Application.EnableVisualStyles();

Form form = new()
{
    Text = "Mini tool",
    Width = 360,
    Height = 180,
};

Button button = new()
{
    Left = 20,
    Top = 20,
    Width = 120,
    Text = "Show dialog",
};

button.Click += (_, _) =>
{
    TaskDialogPage page = new()
    {
        Caption = "MiniWinForm",
        Heading = "Native AOT friendly GUI",
        Text = "This is a tiny Win32 window with a WinForms-like API.",
    };
    page.Buttons.Add(TaskDialogButton.OK);
    _ = TaskDialog.ShowDialog(form, page);
};

form.Controls.Add(button);
Application.Run(form);

Demo

The repository includes a small demo app in demo/Sdcb.MiniWinForm.Demo. It shows representative features such as:

  • forms and controls
  • menu items
  • list selection
  • progress bar updates
  • task dialogs
  • timers

Status

This project is designed for small Windows tools first. API coverage is intentionally limited and focused on the parts that are most useful when you want a GUI without giving up Native AOT size goals.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows10.0.19041

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.8 94 5/18/2026
0.1.7 93 5/16/2026
0.1.6 99 5/16/2026
0.1.5 85 5/16/2026
0.1.4 96 5/16/2026
0.1.3 92 5/16/2026
0.1.2 90 5/16/2026