Upgrade to Visual Studio 2015 and now can't hit break points in debugging

前端 未结 18 1648
北恋
北恋 2020-12-29 21:03

I have a multi-project solution that I was building in Visual Studio 2013 and it was working fine but now that I have upgraded to Visual Studio 2015 I can no longer hit brea

18条回答
  •  鱼传尺愫
    2020-12-29 21:27

    I hope this helps anyone. If you are running code in your local machine under IIS, you need to attach your solution to the w3wp.exe process. So, select your project, on the menu go to debug->attach to process and in the list you should see w3wp.exe

    Now, if you don't see w3wp.exe you might either select the show all processes checkbox, or go to your IIS Manager and browse your web site in order to actually run the w3wp.exe instance.

提交回复
热议问题