Open callummarshall9 opened 2 years ago
Hello. I would like this functionality as well. I've searched around and haven't found a way to do it from the terminal. As a stop gap measure, are you aware of a way to do it from the terminal? Thank you!
Also, "Setup Project" #263 is a duplicate of this.
In Visual Studio 2022 when you're working with multiple projects you can set a project as a startup project
When working in VSCode it seems the Microsoft documented way is to edit a .vscode/launch.json which isn't something I'm particularly proficient at... Especially as I may potentially have multiple startup projects that are also Azure functions that Microsoft seem to document as "multi-root workspaces" even though my solution contains multiple Azure functions.
It would be ideal if the extension at least for simple console projects would let me "Right click -> Set as Startup Project" for at least one project... A multi-run configuration may prove more work. This could perhaps work through the extension storing launch.json templates based on the project type and can also read the existing properties properties/launchSettings.json to help populate this information.
The alternative it seems that I'm currently having to do it seems is write .vscode/launch.json files often relying on multiple tutorials I've found online or having to generate new .NET projects in VSCode just to steal their launch configuration.
This would save me a lot of time in VSCode.