After installing AspNet5.ENU.RC1 any previous or new MVC project throws a
The operation could not be completed. Invalid pointer
error when opening razor pages (.cshtml
). Other files such as class libraries and config files open as expected. Any suggestions before I reinstall VS?
As @chsword commented above:
Open the folder: Users\(user)\AppData\Local\Microsoft\VisualStudio (version)
Delete the folder: ComponentModelCache
Restart Visual Studio (ComponentModelCache is re-created and the problem goes away)