VS2013 - Operation Could Not Be Completed

后端 未结 16 2127
被撕碎了的回忆
被撕碎了的回忆 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:33

    I got this error in Visual Studio 2015 but only after I installed ASP.NET 5 RC 1. Installing Visual Studio 2015 Update 1 fixed the problem for me.

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

    I was asked by a colleague to look at this problem. I tried all the proposed solutions and nothing worked. Eventually I found that they had done a project Update from svn and they had a conflict and ignored it. In one of the config files I found the conflict marked ".yours". I corrected this and all now loads without error.

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

    I had the same error in VS 2015 running on Win 10. Fortunately fixed simply with a reboot. On restart it appears windows applied some updates in the previous session which broke VS somehow.

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

    What solved my issue is this :

    Type %LOCALAPPDATA% in Windows Explorer and go to Microsoft\XX.0 your version of Visual Studio then delete the folder ComponentModelCache

    Restart VS and it worked like a charm!

    This is due to an update made to GitHub which is reported in their forum

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

    It is due to IIS Express not running from Visual Studio when you try to debug the aspx page.

    Quick and dirty fix is to right click the your project and choose "Use Visual Studio Development Server" and then again right click and choose back to "Use IIS Express" will fix this problem. This way I will care about all the changes required in configuration file.

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

    I just figured it out. In my web.config, I had the following in my

      <appSettings>
        <add key="webpages:Version" value="2.0.?.?" />
      </appSettings>
    

    Changing this the value to "3.0.0.0" resolved the issue. I never had a problem with this on VS2010 or VS2012. It seems there is something in the IDE that is not handling this gracefully.

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