Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: ASPPARSE error when @ character follows tag name [152]

$
0
0
The latest version of RazorGenerator (1.6.3) produces ASPPARSE error when '@' character is used immediatelly after a tag name, for example in ASP.NET MVC [_WebGridRenderer.cshtml](http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Helpers/WebGrid/_WebGridRenderer.cshtml):

```
<thead>
<tr@CssClass(headerStyle)>
```

_... error ASPPARSE: Encountered end tag "thead" with no matching start tag. Are your start/end tags properly balanced?_

The error does not appear when RazorGenerator is not enabled.




Comments: That would explain it. The compile time check is using the newer parser. If you're precompiling all your view files using RazorGenerator, you could turn off MvcBuildViews since it does significantly slow down building your project.

Viewing all articles
Browse latest Browse all 525

Trending Articles