Is there a shortcut to run a project in my solution without setting it (set as startup project) and instead correlate it with the active file?
I mean run a project whose file is active, but I don't want it to be the default. It should be a different shortcut than F10, because I'm mainly talking about debugging!
To run the program, press Ctrl+F5, select Debug > Start without debugging from the top menu, or select the green Start button. Visual Studio tries to build and run your project.
Build and run your code in Visual Studio To build your project, choose Build Solution from the Build menu. The Output window shows the results of the build process. To run the code, on the menu bar, choose Debug, Start without debugging. A console window opens and then runs your app.
You can right-click a project and set it as the Startup Project. It then is debugged when you press F5, or run when you press Ctrl-F5. You can right-click a project and select Debug / Start new instance to debug a project that is not the startup project.
You could set this in the properties of the solution:
I don't know of a way to do exactly what you ask, but you can run any project:
It doesn't have to be the Start-up 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