1

In our ASP.NET application we perform some initializations upon the Application Start event.

When the application is started in visual Studio 2010 with 'Debug->Start new instance' the ASP.NET Development server does not start new, and my Application's Start event is not fired.

My workaround is to manually stop the development server - is there a setting to force this automatically?

GarethOwen
  • 6,075
  • 5
  • 39
  • 56
  • 1
    possible duplicate of [Automatically stop/restart ASP.NET Development Server on Build](http://stackoverflow.com/questions/886692/automatically-stop-restart-asp-net-development-server-on-build) – Patrick McDonald Feb 25 '11 at 10:22
  • Thanks Patrick - this seems indeed to be a duplicate – GarethOwen Feb 25 '11 at 10:28

1 Answers1

2

I think setting Project properties > Web > Enable Edit and Continue forces Cassini to restart when debugging is started.

jevakallio
  • 35,324
  • 3
  • 105
  • 112