original link: http://www.fx114.net/qa-161-180686.aspx
2017.07.20
First, download and install the. NET Core SDK
* Https://www.microsoft.com/net/download/core
* Install. NET Core
* Open the console, type dotnet--help, see version display, indicating successful installation
Second, the new dotnet core Project * Open the console
* CD ...//to your project root
* MkDir ...//make project dir
* Dotnet New//The first run will be the environment test, wait patiently until the prompt is complete.
* Dotnet New--HELP//Enumerate the types of projects that can be built.
* Dotnet new Console//Set up a console project.
* dotnet Restore//Set up some configuration files
* dotnet Run//create complete
Third, download Vscode
* https://code.visualstudio.com/
* Open Vscode, select "File"-"Open Folder" and open the newly created project folder (Project dir)
* Double-click the Program.cs file, under the menu bar, there will be a line of prompts to install C #, download installation, yes, restart the IDE.
(It will automatically download the relevant C # [OMNISHARP] plug-ins)
* After restart, double-click the other files under the project, if prompted under the menu bar, click Install or Yes, restart the IDE
Repeat this process until there is no hint. (usually restart 2 to 3 times)