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

后端 未结 8 1165
無奈伤痛
無奈伤痛 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条回答
  •  -上瘾入骨i
    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

提交回复
热议问题