Compile and debug Dot Net Core WindowsForm source code

1. Clone the source code:

https://github.com/dotnet/winforms

 

 

 

2. .net core sdk required by the installation project:

Run this script:

 

 

 

method:

1. Enter PowerShell and right-click to open with administrator rights

2. 输入Set-ExecutionPolicy RemoteSigned

3. Enter A and press Enter

4. & "path \ xxx.ps1"

 

 

3. Go to the cloned warehouse, find the project file, open it directly with VS2019, and compile

 

 4. Successful compilation

 

Guess you like

Origin www.cnblogs.com/chenyingzuo/p/12716474.html