[英]Difficulties with Visual Studio 2013 and ASP.NET MVC
I've recently started developing my ASP.NET MVC app on VS2013. 我最近开始在VS2013上开发ASP.NET MVC应用程序。 Before that change I could start app in debug, stop the debugging and everything was working.
在进行此更改之前,我可以在调试中启动应用程序,停止调试,一切正常。 But now when I stop debugging, whole application also stops working.
但是现在当我停止调试时,整个应用程序也会停止工作。 Also when I modify webconfig on debug I am forced to stop debug.
另外,当我在调试时修改webconfig时,我也被迫停止调试。
Why do I have this problem? 为什么会有这个问题? When I was working on VS2010/VS2012 everything was working ok.
当我使用VS2010 / VS2012时,一切正常。
Under Project Properties -> Web 在项目属性 -> Web下
Uncheck Enable Edit and Continue . 取消选中启用编辑并继续 。
Before that change I could start app in debug, stop the debugging and everything was working.
在进行此更改之前,我可以在调试中启动应用程序,停止调试,一切正常。 But now when I stop debugging, whole application also stops working.
但是现在当我停止调试时,整个应用程序也会停止工作。
As it should be and is consistent with non-web apps. 应当且与非Web应用程序保持一致。 The new IIS integrated mode stops the application pool.
新的IIS集成模式将停止应用程序池。 Normal.
正常。 You can switch the web server config back to using "real IIS" then the behavior should switch back.
您可以将Web服务器配置切换回使用“真实IIS”,然后行为应切换回。
Also when I modify webconfig on debug I am forced to stop debug.
另外,当我在调试时修改webconfig时,我也被迫停止调试。
Not sure. 不确定。 I pretty much never edit the web.config as I never store application specific information in there, only major stuff required from components and when I install those I normally am not debugging anyway.
我几乎从不编辑web.config,因为我从不在那里存储应用程序特定的信息,只有组件所需的主要内容,而当我安装这些内容时,通常无论如何我都不会调试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.