I have multiple projects in my workspace. how I can set a startup project using the command line.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With