VS code install yo (Yeoman) plugin download. net core template code development

Source: Internet
Author: User
Tags dotnet

Before installing the plugin, look at the dependency of the plugin address

Pre-requirements
    • [node. js] (https://nodejs.org)
    • [npm] (https://www.npmjs.com)
    • [Yeoman] (http://yeoman.io)
    • A Yeoman Generator of choice

Main Process:

1.VS Code Install yo plugin

Ext Install yo

vs Code Yo Plugin address:

Https://marketplace.visualstudio.com/items?itemName=samverschueren.yo

Enable after installation is complete

2. Create A. Net Core project

VS code Open the directory where you need to create a project such as: D:\Project\TestProject

F1 input yo

Click this option

In the Click *app

Click Web Application

Choose your preferred template type project according to your preference

I choose Semanticui Project

Enter Create Complete.

3. Run the project configuration

Run the dotnet Restore command

Run the dotnet build command

Run the dotnet Run command

CTRL + C Stop debugging

Browser opens http://localhost:5000

Get the Result.

4. If you do not want to compile the project with a command prompt. Create the project at the command prompt after you create the project for the first time . Then run debugging against the VS code project according to the following Configuration.

Close the Open vs Code and open the directory where the current project is located

Close the previous directory

Open the directory after you have made the catalog

finish, Click on the green triangle again to run

Do not make any changes above and continue to run the Point.

The browser then enters the corresponding address for site Access.

VS code install yo (Yeoman) plugin download. net core template code development

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.