Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.76 KB

getting-started.md

File metadata and controls

40 lines (24 loc) · 1.76 KB

Getting started with WinForms for .NET Core

This document describes the experience of using WinForms on .NET Core. The Developer Guide describes how to develop features and fixes for Windows Forms.

Installation

Choose one of these options:

  1. .NET Core 3.1 SDK (recommended)

  2. .NET 5.0 daily build (latest changes, could be less stable)

Creating new applications

You can create a new WinForms application with dotnet new command, using the following commands:

dotnet new winforms -o MyWinFormsApp
cd MyWinFormsApp
dotnet run

Designing Forms

You can try the WinForms Core Designer Visual Studio extension preview, see Windows Forms Designer Documentation. As an alternative, you can use this workaround.

Samples

Check out the .NET Core WinForms samples for both basic and advanced scenarios. Additionally, there is a collection of WinForms sample applications on MSDN.

Porting existing applications

To port your existing WinForms application from .NET Framework to .NET Core 3.1, refer to our porting guidelines.