Debug .NET Framework Source Code in Visual Studio 2012?

后端 未结 6 803
情歌与酒
情歌与酒 2021-01-30 13:02

I am using Visual Studio 2012. I want to Debug .NET Framework source code. I have tried nearly all the options but I am still getting There is source code available for Cu

6条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 13:49

    Debugging .NET Framework sources was broken for a long time. See the relevant suggestion on VisualStudio UserVoice Allow developers to step through .NET Framework sources. Good news: it was finally been fixed! See the following blog post from Microsoft:

    A new look for .NET Reference Source

    In short:

    • New web interface for browsing sources: http://referencesource-beta.microsoft.com/
    • All sources, including project files, can be downloaded directly: http://referencesource-beta.microsoft.com/download.html (not compilable though)
    • There's a new extension for F12 navigation: http://visualstudiogallery.msdn.microsoft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e
    • Sources are always up to date and debugging isn't broken by patches and updates.

    It's currently "beta". Eventually it's going to replace http://referencesource.microsoft.com/. Microsoft also promises to add sources of more assemblies.

提交回复
热议问题