Browsing the .NET Framework source code from Visual Studio

前端 未结 7 1539
情书的邮戳
情书的邮戳 2020-12-05 01:42

I know that I can set up Visual Studio to debug through the .NET framework source code.

But is there a way that I can browse the code while NOT debugging - i.e., bei

7条回答
  •  遥遥无期
    2020-12-05 02:37

    I just discovered this extension that pretty much addresses my problem. The only thing is that it opens the source in the browser rather than in Visual Studio, but it's no big deal because even in the browser you can click the source code to navigate to types etc.

    It was presented on Scott Hanselman's blog a couple of days ago:

    Community member and fabulous coder Schabse Laks has created a Visual Studio extension for VS2010, 2012, and 2013! This extension sends calls to Go To Definition (or pressing F12 on a symbol) directly to the code online (when it's .NET Framework code, not yours).

    You can download this companion "Ref12" Visual Studio Extension now! Just Goto Definition on any .NET type we have source for and it'll launch your default browser so you can explore the .NET Framework source yourself! Thanks Schabse!

提交回复
热议问题