VS 2013 giving The operation could not be completed. Invalid pointer on Razor views

后端 未结 8 1159
無奈伤痛
無奈伤痛 2021-02-03 21:44

I installed VS 2015 version on my system. I already had Visual studio 2013 update 4 installed on my machine. But now, whenever I try to open any cshtml ( razor view) in VS 2013,

相关标签:
8条回答
  • 2021-02-03 22:04

    I managed to get rid of this error by a combination of the answers here plus some more:

    1. Close Visual Studio
    2. Delete %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache
    3. Delete the .suo file
    4. Re-open Visual Studio - the same error
    5. Edit the .csproj file - >go to the ProjectExtensions/VisualStudio/FlavorProperties, delete the entire FlavorProperties element.
    6. Reload the project
    0 讨论(0)
  • 2021-02-03 22:08

    Installing Visual Studio 2015 Update 1 fixed this for me:

    • https://www.visualstudio.com/en-us/news/vs2015-update1-vs.aspx
    0 讨论(0)
提交回复
热议问题