I'm getting a lot of errors like the following:
The type or namespace name 'ViewResult' could not be found (are you missing a using directive or an assembly reference?)
The thing is when I double-click on one of the errors, it goes to the page, but the error goes away.
However, this happens when I try to run my project. I can't build and run because these errors get thrown, but the errors disappear when I try to double-click on them.
Is there a way to clear the cache for intellisense or somewhere else?