Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how set asp.net core startup project using command line in Vs code

I have multiple projects in my workspace. how I can set a startup project using the command line.

like image 810
Maheboob Subhani Avatar asked Oct 23 '25 00:10

Maheboob Subhani


1 Answers

There's no built-in way to set the startup project in a persistent manner, but you can specify the project to run when using dotnet run with the --project option:

dotnet run --project /path/to/project
like image 82
Kirk Larkin Avatar answered Oct 25 '25 21:10

Kirk Larkin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!