3
votes

Has anyone run into this before? In my freshly installed copy of Visual Studio 2015 Professional I simply cannot get 'F12 - Goto Definition' to work. Nothing happens when I try it. What is more, if I try 'ALT-F12 -- Peek at definition', I just get a blank window saying "A definition for the symbol '(null)' could not be located'. Intellisense is working fine. I do not have a lot of third party tools installed (except some git related ones). I am at my wit's end here.

Can anyone help? I have already re-installed this twice.

3

3 Answers

4
votes

I had the same problem with Visual Studio 2015 Community Edition. Deleting the .vs folder fixed it.

0
votes

This problem was resolved in the visual studio 2015 Update 1. Visual Studio 2015's keep tabs option was breaking F12. This is why the other answers response of deleting your settings file fixed it. The default setting is to keep spaces.

Please see https://stackoverflow.com/a/31909360

and

To get the update: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update1-vs

0
votes

In my case the .vcxproj was incomplete due to a version error