This project is read-only.

CLSCompliant(false) on _ViewStart?

Dec 15, 2011 at 1:48 PM

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:

  1. Should I use Razor Generator on _ViewStart.cshtml files?
  2. Are there alternate names for _ViewStart.cshtml files?
  3. Can this attribute be added by the generator?
Coordinator
Dec 15, 2011 at 5:27 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.