VS2013 - Operation Could Not Be Completed

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

    Just found your question here because it happened to me as well. Here's what I did and hopefully it will fix / help find the problem.

    1. Deleted all .suo
    2. Terminate IIS Express
    3. Close VS2013 and re-open
    4. Open your project and try to start it (F5)
    5. You probably have an error on your web.config file. For me it was an being there twice.
    6. Fixed the web.config file, save and boom, error is gone.

    Hope it will also fix your situation.

提交回复
热议问题