问题
I don't know, all of sudden Razor syntax showing in Red. I suspended and resumed and also closed VS and restarted still the same. Anything else to do?

回答1:
Check the references in the /Web.config and the Views/Web.config. If they are correct, try a clean and rebuild. If that still does not work, you can manually delete the bin folder and VS will recreate it anew.
来源:https://stackoverflow.com/questions/29898607/resharper-is-suddenly-showing-red-for-razor-syntax