is NOT CLS-Compliant warning in VS2005?

  • Thread starter Thread starter Rob R. Ainscough
  • Start date Start date
R

Rob R. Ainscough

When I use the DataSet wizard to create an .xsd I get a "...is not
CLS-compliant" warning -- now this is code generated by VS 2005 (aka
Microsoft) -- why would it generate none compliant code??

Do I care about CLS compliant code?

Rob.
 
Rob said:
When I use the DataSet wizard to create an .xsd I get a "...is not
CLS-compliant" warning -- now this is code generated by VS 2005 (aka
Microsoft) -- why would it generate none compliant code??

Have you ever used IE's design mode CSS attribute? The code is far from
compliant!

Do I care about CLS compliant code?

I don't think it matters unless you want your code to be accessible by
code written in another language (eg. writing a C# DLL to be used by a
VB.NET app). I think CLS compliance is not using anything that produces
language-specific IL :)

Maybe this is of some use?

http://msdn.microsoft.com/library/d...pguide/html/cpconwritingcls-compliantcode.asp
 
yeah, screw it, I'll just turn CLS checking off in my AssemblyInfo.vb --
hell MS generated the dang code
 
Back
Top