VS2013 - Operation Could Not Be Completed

后端 未结 16 2128
被撕碎了的回忆
被撕碎了的回忆 2020-12-05 23:18

After installing Visual Studio 2013 and playing around with some of the new features, I noticed I\'m unable to open a cshtml file in one of my MVC projects. If I try openin

相关标签:
16条回答
  • 2020-12-05 23:54

    That worked for me for VS 2015 (command prompt as Admin):

    cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
    devenv.exe /resetuserdata
    
    0 讨论(0)
  • 2020-12-05 23:55

    Like most people here have mentioned, review your web.config file for duplicates. I was in a rush, just copied and pasted appSettings from another solutions without noticing the section existed already in the existing document. Then issue this thread relates to started to surface. I went back and consolidated the appSettings, saved, and the issue ceased to exist.

    double <appSettings> conflict

    0 讨论(0)
  • 2020-12-05 23:55

    Check for errors in your web.config file:

    • duplicate keys (app settings)
    • tags not closed or used multiple times
    • ...
    0 讨论(0)
  • 2020-12-05 23:56

    For me this error was resolved by setting the VS 2013 shortcut to "run as administrator".

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