Search code examples
asp.netvisual-studio-2013visual-studio-debuggingiis-expressvisual-studio-express

Automatically Kill IIS Express Process After Debugging (VS Express 2013 Web)


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.

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.)

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?


Solution

  • 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.