Vscode Develop C # (call Net Core) Streamlined step description

Source: Internet
Author: User
Tags dotnet

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.