Cannot open Web projects in Visual Studio 2013

前端 未结 7 767
有刺的猬
有刺的猬 2021-01-12 18:14

Yesterday I installed an update (Visual Studio 2013 Update 2) to Visual Studio 2013 and since then it has not worked properly.

The update was taking quite a long ti

相关标签:
7条回答
  • 2021-01-12 18:45

    Go to the path in the message error: At my case is C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

    And rename the file web.config to web_old.config.

    At Solution Explorer try reload your project again.

    Good look!

    0 讨论(0)
  • 2021-01-12 18:47

    its so funny

    in windows 10 this problem happened because of oneDrive application.

    if your oneDrive application is off, please run it first and reload project again.

    it seem oneDrive lock this files

    0 讨论(0)
  • 2021-01-12 18:47

    You can copy the folder "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config" from another computer.

    This should fix this problem in Visual Studio 2017

    0 讨论(0)
  • 2021-01-12 18:48

    I had the same issue error occur. I simply deleted the files found within the \IISExpress\config folder and reloaded the project by closing and opening Visual Studio.

    Hope these solutions help everyone else!

    0 讨论(0)
  • 2021-01-12 18:56

    This happens due to corrupt applicationHost.config file.

    Instead of re-installing visual studio,

    Go to C:\inetpub\history and copy applicationHost.config file to My Documents\IISExpress\config\

    This should solve your problem.

    0 讨论(0)
  • 2021-01-12 19:03

    I had the similar occurrence for a specific project only for VS 2015.

    I went to the respective project folder .vs\config drive and deleted the applicationhost.config file. Then reloaded the project, and it created a new application host file and reloaded successfully.

    0 讨论(0)
提交回复
热议问题