“Go To Definition” in Visual Studio only brings up the Metadata

后端 未结 26 2949
夕颜
夕颜 2020-12-07 13:33

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 Metadata file in

26条回答
  •  无人及你
    2020-12-07 14:05

    I faced the same issue and one of colleagues gave me the following solution and it worked! If none of the above works for you,

    1. Remove all the references and add them back (make sure the path is correct)
    2. Go to Solution properties, and recheck the Project Dependencies of all projects. Make sure the project that you'll be using is added as a dependent in the project that you are working on.

提交回复
热议问题