How can I debug the source code of .Net Core or the Base class libraries (coreFx)?

后端 未结 3 1644
一生所求
一生所求 2021-02-15 15:23

I am using .NET Core 1.0 and Visual Studio 2015 Update 3 to make a simple Asp.Net Core MVC website.

How can I debug my application and \"Step

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-15 15:51

    Update to fit new VS 2017

    In Visual Studio 2017 15.3.5 and later We can use SourceLink support for debugging .NET Core and ASP.NET Core sources. To enable source link support just Disable Enable Just My Code and and Enable Enable Source Link Support. Then Enable Microsoft symbol servers.


    Victors answers works well with vs 2015.For some one who is looking for a solution with vs 2017,
    In vs 2017 there is no global.json availble.So instead of adding folder path in global.json a project reference has to be added and rebuild.
    All the others mentioned in Victors article works same as with 2015.
    It is important that the git hub tag and the nuget package matches have the same versions.

提交回复
热议问题