[Mono-list] Re: System.Data missing in 1.1.9.2

Robert Jordan robertj at gmx.net
Wed Oct 26 06:44:28 EDT 2005


Raúl,

> I need developing DataBase app's in Mono, so I include
> the "using System.Data;" line and the one related to
> the DB server I use.
> 
> First: The code completion tool doesn't recognize
> "Data" as a subspace of "System".
> Second: When I try to compile the code I get an error
> of type "Missing namespace System.Data".
> 
> How could I correct this problem?

You have to add a reference to the System.Data assembly.
If you're compiling with mcs:

mcs -r:System.Data ....

Rob



More information about the Mono-list mailing list