Visual Studio Won’t Open CSHTML Files
I had an issue one day where Visual Studio would not open my CSHTML files. It would give me the following error.
The operation could not be completed. Invalid pointer.
So naturally I took to Bing. I eventually found the work around on StackOverFlow.
The fix for me was not the question’s accepted answer but one further down. I deleted the contents in the %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache folder.
After that I never had this issue again.