[Mono-osx] How to include MySQL.Data library
jsn
jsnit at jsnit.com
Mon Nov 1 08:29:41 EDT 2010
Hi all,
I just downloaded the driver for MySQL
mysql-connector-net-6.3.5-noinstall.zip and installed following the
indication in this link
http://dev.mysql.com/doc/refman/5.0/en/connector-net-installation-unix.html
I added the using statement in my program
using MySql.Data;
using MySql.Data.MySqlClient;
and when I compile it using the command line I get the following error
message:
j-iMac$ gmcs -r:System.dll -r:System.Data.dll -r:MySql.Data.dll Main.cs
error CS0006: cannot find metadata file `MySql.Data.dll'
Compilation failed: 1 error(s), 0 warnings
Also using MonoDevelop I get the following compilation error:
Error CS0246: The type or namespace name `MySql' could not be found. Are
you missing a using directive or an assembly reference? (CS0246)
(HelloConsole)
What am I missing?
--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-include-MySQL-Data-library-tp3022067p3022067.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list