开发者

Force a new start of "Cassini" when I start debugging a new instance of my web application

开发者 https://www.devze.com 2023-02-13 22:31 出处:网络
In our ASP.NET application we perform some initializations upon the Application Start event. When the applicat开发者_StackOverflowion is started in visual Studio 2010 with \'Debug->Start new instance

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

When the applicat开发者_StackOverflowion 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号