I’ve got a master page and I’m trying to declare that it is written in C#.
However when I enter this to the top of the Design.master file it gives “Syntax error”.
<%@ Master Language="C#" %>
What I don’t understand is that Visual Studio is writing the code for me pretty much…
What could be causing this?

I closed the tab and reopened it and the syntax was then validated successfully.
Grrr!