Can't resolve symbol, but after code clean up I can, but after a while I can't again...
This only happens in the Razor view.
The title says it all, I really have no idea what's going on. I clean up the code and it's all OK, but after a while the solution-wide analysis tells me there are errors again. The whole solution compiles just fine.
Don't know if it's a bug or I should set something up. I was working with Web Forms for a school project up until a while ago and moving onto MVC now, and this is really annoying.
Thanks,
Dushko
Please sign in to leave a comment.
I think that for some reason, ReSharper looses sight of the web.config in the views folder and after I do the code cleanup it reloads it again and clears the errors. Could this be the problem?
I tired MVC 6 and now it gives a "Cannot apply indexing to to and expression" to ViewData. But the funny thing is that if I open a file with that error, the error goes away.