is NOT CLS-Compliant warning in VS2005?

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.
 
D

Danny Tuppeny

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
 
R

Rob R. Ainscough

yeah, screw it, I'll just turn CLS checking off in my AssemblyInfo.vb --
hell MS generated the dang code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top