First, in your project properties and in the Debug
tab, make sure that your Start Action
is set to Start Project
and not some other option that won't run. If that doesn't resolve it then:
Go to Tools -> Options -> Environment -> Keyboard
and in Show commands containing:
type Debug.Start
and make sure that Shortcuts for selected command:
is set to F5 (Global)
. Also make sure you do not have anything else mapped to F5 that might conflict.
Finally if this doesn't resolve your issue, then I suggest that you export your current environment settings as a backup, and then reset all environment settings completely. See if that resolves it, if it does not then reimport your old settings and try repairing visual studio.