WTG.Windows.Forms 0.2.17

Prefix Reserved
dotnet add package WTG.Windows.Forms --version 0.2.17
                    
NuGet\Install-Package WTG.Windows.Forms -Version 0.2.17
                    
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="WTG.Windows.Forms" Version="0.2.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WTG.Windows.Forms" Version="0.2.17" />
                    
Directory.Packages.props
<PackageReference Include="WTG.Windows.Forms" />
                    
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 WTG.Windows.Forms --version 0.2.17
                    
#r "nuget: WTG.Windows.Forms, 0.2.17"
                    
#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 WTG.Windows.Forms@0.2.17
                    
#: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=WTG.Windows.Forms&version=0.2.17
                    
Install as a Cake Addin
#tool nuget:?package=WTG.Windows.Forms&version=0.2.17
                    
Install as a Cake Tool

WTG.Windows.Forms

WiseTech Global's fork of System.Windows.Forms that restores controls deprecated in .NET Core 3.1 and .NET 5, including DataGrid, Menu, ToolBar, and StatusBar.

Overview

When Microsoft moved Windows Forms to .NET Core, several legacy controls were removed. This package brings those controls back, allowing WiseTech Global applications to migrate to modern .NET runtimes without requiring an immediate rewrite of UI code that relies on these controls.

Getting Started

Add the package to your project:

<PackageReference Include="WTG.Windows.Forms" Version="*" />

Then use the restored controls as you would in .NET Framework — no API changes are required.

Restored Controls

Control Description
DataGrid Displays ADO.NET data in a scrollable grid
MainMenu / ContextMenu Classic menu controls
MenuItem Individual items within a MainMenu or ContextMenu
ToolBar / ToolBarButton Legacy toolbar control
StatusBar / StatusBarPanel Legacy status bar control

Source

This package is based on the dotnet/winforms repository, which is itself a fork of the Windows Forms implementation from .NET Framework 4.8.

License

Licensed under the MIT License.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.17 108 9/1/2026
0.2.17-prerelease-d4538375-... 103 8/31/2026
0.2.16 227 8/26/2026
0.2.16-prerelease-15c7a22bd... 97 8/23/2026
0.2.15 116 8/14/2026
0.2.15-prerelease-429D7F43-... 106 8/13/2026
0.2.14 126 7/20/2026
0.2.14-prerelease-05a0b983-... 114 7/15/2026
0.2.13 128 7/15/2026
0.2.13-prerelease-f96f18bf-... 127 7/13/2026
0.2.13-prerelease-bd1ab0e0-... 97 7/13/2026
0.2.13-prerelease-a9bccb5a-... 121 7/14/2026
0.2.13-prerelease-8e2b5d18-... 151 7/13/2026
0.2.13-prerelease-67923c77-... 101 7/13/2026
0.2.13-prerelease-458ab58d-... 118 7/13/2026
0.2.13-prerelease-30e1152c-... 126 7/8/2026
0.2.13-prerelease-06103a05-... 125 7/8/2026
0.2.12 153 7/1/2026
0.2.12-Prerelease-67a9d9af0... 112 6/24/2026
0.2.11 135 6/23/2026
Loading failed

Handle disposed AsyncWaitHandle during BeginInvoke completion, version 0.2.17, PR link: https://github.com/WiseTechGlobal/winforms/pull/42