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

Commented Issue: Add a CLSCompliant(false) on all Mvc \ WebPages files that start with an underscore [39]

$
0
0
Should I use Razor Generator on _ViewStart.cshtml files as well? If I do that in a project that is marked with the CLSCompliant attribute, the compiler will generate a warning that classname _ViewStart is not CLSCompliant. In order to satisfy the compiler,
the class should be marked with CLSCompliant(false).

So a couple of questions:


Should I use Razor Generator on _ViewStart.cshtml files? Are there alternate names for _ViewStart.cshtml files? Can this attribute be added by the generator?
Comments: Fixed in changeset e46b7a2d2a8294fe342872dc7e67d46c3b519adb

Viewing all articles
Browse latest Browse all 525

Trending Articles



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