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

后端 未结 8 1163
無奈伤痛
無奈伤痛 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 21:55

    For anyone arriving here after installing Visual Studio 2015 Update 1 and then updating some packages, here is what fixed it for me:

    1. Close Visual Studio
    2. Delete %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache
    3. Re-open Visual Studio

    I was getting this error message in VS2015 and the fix worked for me, so it seems to apply to 2013 and 2015.

    I found the solution on another Stack Overflow question: Visual Studio 2015 Broken Razor Intellisense.

提交回复
热议问题