Bill Martin
Bill Martin

Reputation: 4943

'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?

Upvotes: 4

Views: 4500

Answers (5)

Alex
Alex

Reputation: 167

Closing all of the open files in Visual Studio and opening them again from the Solution Explorer fixed it for me.

Upvotes: 0

traffiq
traffiq

Reputation: 99

Keep in mind you also need the microsoft sql server compact 4.0 for intellisense to work.

Upvotes: 1

Anup
Anup

Reputation: 31

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".

Upvotes: 2

user3524983
user3524983

Reputation: 429

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

Upvotes: 5

user3485803
user3485803

Reputation: 1

I have face this issue while upgrading from vs 2012 to vs 2013. when you open the vs.2012 to solution into the 2013 then go to definition was not working.

I have solved it by creating new project in the vs.net 2013 and added all the objects back to the solutions. it is working without any issues now.

Upvotes: -1

Related Questions