Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Code formatting on CSHTML lowercases generic model types. [828]

$
0
0
Parser treats generic parameters in a generic model as html tag. Formatting cshtml file in Visual Studio 2012 (with Ctrl+K+D) changes generic parameter to lower case:
```
@model IEnumerable<Model.Content>
```
becomes:
```
@model IEnumerable<model.content>
```
So code could not be compiled any more. Also there is warning on a generic model declaration:
```
Validation (HTML5): Element 'model.content' is not supported.
```

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>