How can I prevent Visual Studio 2013 from closing my IIS Express app when I end debugging?

后端 未结 3 680
逝去的感伤
逝去的感伤 2020-12-02 05:11

Previously in 2012, if I debugged in Chrome (for example), and then stopped the debugger, the website would remain running in IIS Express. This no longer seems to be the cas

3条回答
  •  [愿得一人]
    2020-12-02 05:36

    I didn't have "Enable Edit and Continue" in my web project's properties (VS2015 Community Update 2), but finally I found a useful comment in this link which mentioned in Rick's answer:

    Christian: You don't need to turn the option off for IIS express to keep running. All you need to do is instead of stopping your application, detach all processes. If you go: Tools > Customize > click the commands tab. Then select toolbar radio button and on the drop down next to this select debug. You then want to "Add Command…". On Add Command window select debug and scroll down to and click on "Detach All". Click OK and then just close. You will see a red cross next to your debug menu. When you click this after debugging your application IIS Express will continue to run.

    Briefly:

提交回复
热议问题