This document describes the experience of using WinForms on .NET Core. The Developer Guide describes how to develop features and fixes for Windows Forms.
Choose one of these options:
You can create a new WinForms application with dotnet new
command, using the following commands:
dotnet new winforms -o MyWinFormsApp
cd MyWinFormsApp
dotnet run
You can try the Windows Forms Core Designer Visual Studio extension, see Windows Forms Designer documentation. As an alternative, you can use this workaround.
Check out the .NET Core WinForms samples for both basic and advanced scenarios. Additionally, there is a collection of WinForms sample applications on MSDN.
To port your existing WinForms application from .NET Framework to .NET Core 3.1, refer to our porting guidelines.