Web API in MVC Project isn't hitting breakpoints (“symbols not loaded”)

后端 未结 7 1461
死守一世寂寞
死守一世寂寞 2020-12-30 07:05

I have an ASP.NET MVC project, with an ASP.NET web api defined as an area in this project. So the structure is the following:

MVC Web
   Controllers
   View         


        
相关标签:
7条回答
  • 2020-12-30 07:47

    Open:

    Tools - Options - Debugging - General

    Select:

    • Enable .NET Framework source stepping

    • Enable source server support (all options selected)

    Open:

    Tools - Options - Symbol

    Select Microsoft Symbol Servers

    Click Load All Symbols

    Rebuild the project.

    Select:

    Clean

    Rebuild

    Rebuild solution and try again.

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