stop development server when i stop debugging

Hannoun Yassir picture Hannoun Yassir · Aug 26, 2009 · Viewed 9.3k times · Source

How can automatically I stop the development web server when I stop debugging in Visual Studio?

Answer

mat3 picture mat3 · Jan 20, 2010

Workaround: Debugging Global.aspx.cs Application_Start() with ASP.Net Web Server within Visual Studio

Enabling "Edit & Continue" on the web server project worked for me. It doesnt shutdown cassini when you stop debugging, but it does restart cassini when you start debugging.