Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Go To Definition' greyed out in VS2013

I just installed Visual Studio 2013 on 2 machines. When I open the same project on both machines and open the same codebehind, if I right click a method call, 'Go To Definition' is greyed out on one machine but not the other. This is for any method call in a referenced assembly. Methods in the current code behind work fine. The machine it doesn't work on is a clean build.

Did I miss installing something?

like image 392
Bill Martin Avatar asked Mar 21 '23 16:03

Bill Martin


2 Answers

Same issue. I simply right-clicked the project and performed an Unload Project. Reloaded it, and Go To Definition is working again.

like image 178
user3524983 Avatar answered Mar 27 '23 20:03

user3524983


I did face it once before. Steps I followed after which it started to work for me:

  1. Right Click on solution and run "Clean Solution".
  2. Right Click on Solution and run "Rebuild Solution".
like image 34
Anup Avatar answered Mar 27 '23 21:03

Anup