[Mono-list] Re: System.Data missing in 18.104.22.168
robertj at gmx.net
Wed Oct 26 06:44:28 EDT 2005
> 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 ....
More information about the Mono-list