[Mono-list] System.Data missing in

Jonathan Pryor jonpryor at vt.edu
Wed Oct 26 06:52:38 EDT 2005

On Wed, 2005-10-26 at 12:27 +0200, Raúl Reina Molina wrote:
> 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?

If you're building on the command line, add -r:System.Data.dll, e.g.:

	mcs -r:System.Data.dll your-program.cs

If you're using MonoDevelop, click the Solution tab, expand your Project
tree, right-click the References entry, and click Edit References to
open the Add References dialog box.  Select System.Data from the Global
Assembly Cache tab (and any other assembly references you may need),
then click OK.

 - Jon

More information about the Mono-list mailing list