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

后端 未结 26 2908
夕颜
夕颜 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:04

    It happens when you don't add reference as a project but point to a dll or exe using Browse tab in Add Reference dialog. If you add reference using Projects tab you should go directly to the source code when you select Go To Definition.

    However, if you install ReSharper, you'll go to source code even if you added your reference to a dll/exe using Browse tab.

提交回复
热议问题