Reputation: 123
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?
Upvotes: 9
Views: 7146
Reputation: 123
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.
Upvotes: -1
Reputation: 4591
Yes, add the Terminate All
button to your debug toolbar
Customize...
from context menuCommands
tabToolbar
Radio buttonAdd Command...
ButtonAdd Command
dialog select Debug Category from listTerminate All
from Commands
listTerminate All
on the button bar using up/down buttons NB: this is a text only buttonJust to clarify - I'm using VS2012 Pro and I'm assuming Terminate All exists in VS2013 Express. If you can't find it I suggest clicking the Keyboard Button on the Customize
dialog and search for 'Terminate'
Upvotes: 19