When i set a break point while debugging in ASP.net VS2012, the entire application restarts.

This was not the behaviour in VS2010.

Please how can i prevent the restart each time i set a breakpoint while debugging.

Thanks.

有帮助吗?

解决方案

found the reason:

<system.web>
    <compilation debug="true" explicit="true" strict="true" optimizeCompilations="true" targetFramework="4.0">

just set optimizeCompilations="false"

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top