Visual Studio\'s Go To Definition is disabled and F12 doesn\'t work. Other commands like Alt-F12 may continue working.
Note that this can also be as a result of disabling database for C++/C#.
In Tools - Options, type "IntelliSense" into the search box, and click on C/C++ - Advanced. In the Browsing/Navigation section, change Disable Database to False, if it is not so already.
After re-enabling, close and reopen to force rebuild. NOTE: IntelliSense will produce large files on disk (*.sdf and ipch) that should be excluded from Git, for example.