"Go To Definition" in Visual Studio only brings up the Metadata

Posted by pfunk on Stack Overflow See other posts from Stack Overflow or by pfunk
Published on 2009-05-07T21:02:41Z Indexed on 2010/04/29 7:07 UTC
Read the original article Hit count: 522

Filed under:

I am working in a Web Project in Visual Studio 2008. When I hit F12 (or right-click and select Go To Definition) Visual Studio is consistently going to the Meta data file instead of going to the source.

Some Points:

  • All the source code is C#, there is no VB.Net
  • All the projects are in the same solution
  • Yes, everything is a project reference (checked and double-checked)
  • I have tried the Clean/Rebuild Solution approach (even to the point of clearing out the Temp directory, Temporary ASP.NET Files directory, etc).

Has anyone else seen this behavior and/or know how to fix it?

© Stack Overflow or respective owner

Related posts about visual-studio