Does a keyboard short cut exist in Visual Studio 2010 to debug the current project?
You could add in the Options dialog under Environment->Keyboard "ClassViewContextMenus.ClassViewProject.Debug.Startnewinstance"
as a shortcut.
This starts debugging on the current project.
(maybe this changed a bit for 2010)
source: http://www.sharpdevel.com/2009/09/visual-studio-debug-start-new-instance.html
One thing that you could do is to right click your Solution, go to Properties. Select 'Startup Project' and choose 'Current selection'. After this, the project that you click will be set as startup project. You can debug the project that you want by clicking it and pressing F5 (or whatever key you have for start debugging).
Steps to add keyboard shortcut to debug the present project instead of the solution:
- Open VisualStudio2010 > Tools>Options>Environment>Keyboard
- Show commands containing "StartNewInstance" and you will see: "ClassViewContextMenus.ClassViewProject.Debug.StartNewInstance"
- Enter your choice into "Press shortcut keys" (for example Alt-F5)
- Click the Assign button
- OK
Away you go.