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

后端 未结 7 1459
死守一世寂寞
死守一世寂寞 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:36

    This solved my problem:

    • Close\Exit from all instances of IIS Express in the system tray (beside the Windows clock).
    • Delete bin and obj folders in your project directory
    • Restart Visual Studio
    • Run it again

提交回复
热议问题