Compiler Error Message: CS1002: ; expected
I sometimes get this when trying to use an inline variable but missing the ” = “. ie. <a href=”<%LinkToPage %>”>Home</a>
You’ll notice I forgot the ” = ” throwing the exception. Took me a minute to find it, but now that is the first thing I search for when I see this exception.
Should be: <a href=”<%=LinkToPage %>”>Home</a>

