Browsing the .NET Framework source code from Visual Studio

前端 未结 7 1515
情书的邮戳
情书的邮戳 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:43

    There is a very new feature in Visual Studio 2017 version 15.6

    You can see decompiled source code without any plugin! Btw, Ref12 doesn't work for VS2017.

    Tools > Options , expand Text Editor > C# > Advanced, and enable "Enable navigation to decompiled sources (experimental)".

    Ref: https://docs.microsoft.com/en-us/visualstudio/ide/go-to-and-peek-definition?view=vs-2017#view-decompiled-source-definitions-instead-of-metadata-c

    0 讨论(0)
提交回复
热议问题