This question is just about warnings (application is working fine). I am using Visual Studio 2012, html5, framework 4.5 Asp.Net Web Application. We can observe this issue in aspx web page when in C# page part (aspx.cs) declaring:
public string EmployeeJson { get; set; }
and in page part (aspx) in javascript section we have:
<script type="text/javascript">
var employee = <%= EmployeeJson %>;
</script>
After pressing "Rebuild Solution" in Error List tab we can see a Warning with description: "Syntax error". Compiler point with red underline on semicolon (without semicolon the red line will be under "var"). Any suggestions?