181116/windows-form-application-on-visual-studio-code
There is a simpler way to achieve this. Type in this in your terminal
dotnet new winforms