简体   繁体   中英

How To Set an asp.net core mvc project As Startup in vscode

I'm new to Asp.Net Core. I Want to set MvcMovie(my project name) As a startup project but I don't know how??

Can anyone help me?

在此处输入图像描述

I've created my project like this way:

dotnet new mvc -o MvcMovie
code -r MvcMovie

I also have a ClassLibrary named: MyClassLib and I have referenced it to MvcMovie.

You can use launch.json tasks.json files to configure your projects as well as the project you want to set as a startup in VSCode. Take a look at this post for details: How do I designate a startup project in VS Code?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM