简体   繁体   English

Visual Studio 2013和ASP.NET MVC的困难

[英]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.

相关问题 在ASP.NET MVC中的Visual Studio 2013中调用“全部中断”时,是否可以隐藏“源不可用”选项卡? - Is there a way to hide the “Source Not Available” tab when invoking “Break All” in Visual Studio 2013 in ASP.NET MVC? Windows 8.1上全新安装Visual Studio 2013后的ASP.NET MVC Razor错误 - ASP.NET MVC Razor Errors After Fresh Installation of Visual Studio 2013 on Windows 8.1 如何在Visual Studio 2013中编辑ASP.Net MVC C#项目模板文件? - How can I edit ASP.Net MVC C# project template files in Visual Studio 2013? 如何在Visual Studio社区2013中创建ASP.NET MVC 5 Web应用程序? - How to create ASP.NET MVC 5 Web Application in Visual Studio Community 2013? ASP.Net MVC5中DropDownlist的困难 - Difficulties with DropDownlist in ASP.Net MVC5 ASP.NET设计未在浏览器上加载(Visual Studio 2013) - asp.net design not load on browser ( visual studio 2013) Visual Studio Visual Studio MVC asp.NET Google Map - Visual Studio Visual Studio MVC asp.NET Google Map Visual Studio 2013解决方案中缺少ASP.NET Web模板吗? - ASP.NET Web template missing in visual studio 2013 solution? 在ASP.NET MVC 4中的Visual Studio 2013中,MVC 4中的MS SQL Compact Edition应该使用哪个providerName和connectionStrings? - What providerName and connectionStrings should be used for MS SQL Compact Edition in MVC 4 in Visual Studio 2013 in ASP.NET MVC 4? Visual Studio 2010中的ASP.Net MVC 1.0 - ASP.Net MVC 1.0 in Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM