Type of member 'DataReader1' is not CLS-compliant.

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

Hi,

Why do I have this error in one project but not another?

Type of member 'DataReader1' is not CLS-compliant.
 
Probably because you specified in the AssemblyInfo that the assembly
should be CLS compliant. Unless you do, the compiler doesn't care if it
is or not.
 

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

Back
Top