[Mono-list] GAC and gmcs problem

Sandy Armstrong sanfordarmstrong at gmail.com
Tue Jan 27 10:02:43 EST 2009


On 01/27/2009 12:00 AM, k1Ll5w1tcH wrote:
> Hi
>
> Forgive me if this has been asked before...
>
> When compiling in mono 2.2 I get the following error:
> error CS0234: The type or namespace name `Data' does not exist in the
> namespace `System'. Are you missing an assembly reference?
>
> I've checked the GAC and the assembly is present.
> System.Data, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089

Are you compiling with -r:System.Data ?  You may need to read the man 
page to learn how to use the compiler correctly.  It is very similar to 
csc on Windows.

Sandy


More information about the Mono-list mailing list