F5 hotkey should run the application, not refresh various views
The menu says that "Start Debugging" is F5. However, more and more of the views in VS grab F5 for their own evil ends.
While this is consistent with Explorer and Internet Explorer, it is wrong and annoying. F5 has for many years been defined in VS as "Start Debugging".
For F5 to work in VS2013 you have to have a source code file open and click in it to give it focus before pressing F5. I am now constantly finding myself refreshing Team Explorer, Pending Changes, etc etc instead of running the program I'm developing. If I make the mistake of closing all my source code windows and then decide to run the program, I actually have to locate a source code file and load it before I can run using the run hotkey.
This is probably the most used hotkey in the whole IDE. Please stop all the other views stealing it to do an operation that should never be needed in the first place (refresh pending changes never does anything useful because it always keeps itself up to date!)
When you're using TFS and want to run you application, hitting 'F5' could be a pain in the ***.
You'll have to right-click on you project>Debug>Start new instance.
A shortcut for that would come in handy for the startup project in your solution.
Shortcuts are the key to smooth working in my opinion.
Maria Ghiondea - MSFT commented
F5 was bound to refresh when Team Explorer was redesigned to have a more web-like navigation model with back/forward buttons and lots of links inside the pages. The majority of users requested this and the users who don’t like it can still unbind it in their settings:
go to Tools\Options\Environment\Keyboard
You’ll want to select View.Refresh as the command name, and choose “F5 (Team Explorer)” in the Shortcuts for selected command combobox. Then click Remove. This will unbind View.Refresh from the F5 key in the Team Explorer keyboard namespace.
caesar hernandez commented
Shift + F10 brings up the context menu, then hit G, then S
Xavier Decoster commented
You can assign a shortcut to the ClassViewContextMenus.ClassViewProject.Debug.StartNewInstance in Tools>Options>Environment>Keyboard.
I used CTRL+S+N for instance.
Worked for me :)
Tom Kerkhove commented
You can add a shortcut in Visual Studio for information check http://twitpic.com/995tq4
Tom Kerkhove commented
Well it's not really a TFS-issue but I think that rightclicking your project > Debug > Start New Instance should get a shortcut so that you'll work faster if you just want to build that single application that is your "Startup project"