Welcome to FoxLearn
In this video, I'll show you how to create a simple windows forms application in .NET Core
If you want to enable the designer in Visual Studio,
you can select the Use the preview Windows Forms designer for .NET Core applications option in the Preview Features.
And don't forget to restart Visual Studio after you've set up the configuration
After you restart Visual Studio,
you can create a Windows Forms Application Project on .NET Core
If you get the same error as me.
You can run the dotnet restore command to fix the problem
Next, Rebuild your project,
then you can select the target framework which you want to build the project
Next, Open your form designer, and then drag the Label,
TextBox and Button controls from the Visual Studio toolbox into your form designer.
You can design a simple UI that allows you to enter text,
then display the entered text in the MessageBox when clicking the button
Thank you for watching this video and don't forget to subscribe to my channel