I installed VS 2015 version on my system. I already had Visual studio 2013 update 4 installed on my machine. But now, whenever I try to open any cshtml ( razor view) in VS 2013,
I managed to get rid of this error by a combination of the answers here plus some more:
Installing Visual Studio 2015 Update 1 fixed this for me: