无法在Visual Studio 2013中打开Web项目 [英] Cannot open Web projects in Visual Studio 2013
问题描述
昨天,我安装了Visual Studio 2013的更新(Visual Studio 2013 Update 2),此后一直无法正常工作.
Yesterday I installed an update (Visual Studio 2013 Update 2) to Visual Studio 2013 and since then it has not worked properly.
该更新花费了很长时间,因此我让它运行一整夜,今天早上回到工作站时,我无法将WebForm项目加载到我们的解决方案中.当我尝试重新加载项目时给出的错误是The IIS Express applicationHost.config file contains invalid entries and must be corrected before you can open project WebSite.
The update was taking quite a long time so I let it run overnight, and when I returned to my workstation this morning, I was unable to load the WebForm projects in our solution. The error it gives when I attempt to reload the projects is The IIS Express applicationHost.config file contains invalid entries and must be corrected before you can open project WebSite.
我不是配置IIS服务器的团队成员,所以我认为我没有访问applicationHost.config文件的权限,而且我认为自昨天以来它没有任何变化.我是团队中唯一一个在打开项目时遇到问题的人,因此我坚信这是我的环境,尤其是我昨天安装的更新.
I'm not the one on our team that configures the IIS server, so I don't think I have access to the applicationHost.config file, and I don't think it has changed any since yesterday anyways. I am the only one in my team having issues opening out projects, so I am convinced it is my environment and specifically the update I installed yesterday.
我已经卸载并重新安装了Visual Studio 2013,但无济于事.
I've uninstalled and reinstalled Visual Studio 2013 to no avail.
推荐答案
这种情况是由于applicationHost.config文件损坏导致的.
This happens due to corrupt applicationHost.config file.
代替重新安装Visual Studio,
Instead of re-installing visual studio,
转到C:\ inetpub \ history,然后将applicationHost.config文件复制到我的文档" \ IISExpress \ config \
Go to C:\inetpub\history and copy applicationHost.config file to My Documents\IISExpress\config\
这应该可以解决您的问题.
This should solve your problem.
这篇关于无法在Visual Studio 2013中打开Web项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!