I don’t remember installing any VS 2015 updates, but I don’t remember testing the MVC project either. I did upgraded TypeScript, but didn’t update or install any new NUGET package. All of the sudden, I am trying to edit the INDEX.CSHTML view and get the following error message: “The operation could not be completed. Invalid pointer”.
Here are some good solutions: http://stackoverflow.com/questions/14252927/the-operation-could-not-be-completed-invalid-pointer
The one that help me was to delete the ComponentModelCache. These are the steps I followed:
- Close all VS instances.
- Open Explorer, then go to: Users\{YourUsername}\AppData\Local\Microsoft\VisualStudio\14.0\
- Delete the folder: ComponentModelCache
- Open VS 2015.
Not sure what it was, or why it happen, but it was solved after following those steps.
Navaneeth
Did as per the instruction but still the Invalid Pointer error persists