调试后自动杀死 IIS Express 进程 (VS Express 2013 Web) [英] Automatically Kill IIS Express Process After Debugging (VS Express 2013 Web)

本文介绍了调试后自动杀死 IIS Express 进程 (VS Express 2013 Web)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Visual Studio 2013 Express for Web 中开发一个 ASP.NET (Razor v2) 网站,所以当我运行该网站进行调试时,VS 会自动启动一个 IIS Express 进程.

I'm developing an ASP.NET (Razor v2) Web Site in Visual Studio 2013 Express for Web, so when I run the site to debug, VS automatically starts up an IIS Express process.

当我使用 VS 的停止调试"按钮停止调试时,IIS Express 系统托盘和 IIS Express 工作进程继续运行,即使在 VS 分离后也是如此.(而且,我怀疑,从一次运行到下一次运行状态不佳,但这完全是一个不同的问题.)

When I stop debugging using the VS "Stop Debugging" button, the IIS Express System Tray and IIS Express Worker Process continue running, even after VS detaches. (And, I suspect, carrying a bad state from one run to the next, but that's a different question entirely.)

是否有 VS 选项或项目设置可以设置为在我点击 VS 中的停止调试"控件后自动终止此进程?

Is there a VS option or project setting somewhere that I can set to automatically kill this process once I hit the "Stop Debugging" control in VS?

推荐答案

事实证明这是不可能的,因为 VS 2013 Express 不包含终止所有"命令.需要完整版的 VS 2013.

Turns out this isn't possible, since VS 2013 Express doesn't include the "Terminate All" command. Would need the full version of VS 2013.

这篇关于调试后自动杀死 IIS Express 进程 (VS Express 2013 Web)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆