Hi,

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

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

Re: Type of member 'DataReader1' is not CLS-compliant. by guffa

guffa
Wed May 10 02:57:39 CDT 2006

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.

Jared wrote:
> Hi,
>
> Why do I have this error in one project but not another?
>
> Type of member 'DataReader1' is not CLS-compliant.
>
>

Re: Type of member 'DataReader1' is not CLS-compliant. by Jared

Jared
Wed May 10 21:47:15 CDT 2006

So I cant make code CLS compliant if it is a 3rd party DLL/ object?

"Göran Andersson" <guffa@guffa.com> wrote in message
news:uL%23xtdAdGHA.4428@TK2MSFTNGP03.phx.gbl...
> 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.
>
> Jared wrote:
>> Hi,
>>
>> Why do I have this error in one project but not another?
>>
>> Type of member 'DataReader1' is not CLS-compliant.