468,550 Members | 1,692 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,550 developers. It's quick & easy.

is NOT CLS-Compliant warning in VS2005?

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.
Nov 30 '05 #1
2 2684
Rob R. Ainscough wrote:
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/de...pliantcode.asp
Nov 30 '05 #2
yeah, screw it, I'll just turn CLS checking off in my AssemblyInfo.vb --
hell MS generated the dang code

"Danny Tuppeny" <gr****@dantup.me.uk.remove> wrote in message
news:43***********************@ptn-nntp-reader04.plus.net...
Rob R. Ainscough wrote:
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/de...pliantcode.asp

Nov 30 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

cls
2 posts views Thread by Art McClure | last post: by
2 posts views Thread by David MacQuigg | last post: by
25 posts views Thread by BOOGIEMAN | last post: by
1 post views Thread by Oscar Thornell | last post: by
reply views Thread by manoj.sahu | last post: by
22 posts views Thread by mp | last post: by
1 post views Thread by Smokey Grindle | last post: by
3 posts views Thread by james_027 | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.