[Mono-dev] Problem with System.Data on linux mono

Jakob Andersen jakob at intellect.dk
Wed Nov 30 13:50:59 EST 2005


> I'm just starting to work with mono on linux using C#. I have mono 
> installed on my linux machine but when I run my C# program it gives me the 
> following error:
>
> Test.cs(2) error CS0234: The type or namespace name `Data' could not be 
> found in namespace `System'
> Test.cs(2) error CS0246: The namespace `System.Data' can not be found 
> (missing assembly reference?)
>    Try using -r:System.Data

Have your tried what the error suggests? compiling whith a reference to
System.Data i.e.

mcs -r:System.Data Test.cs

-- 
Best Regards,
Jakob Andersen




More information about the Mono-devel-list mailing list