[Mono-dev] error CS0006: cannot find metadata file `System.Data.dll`
lrt
ltracchia at gmail.com
Thu Sep 4 16:27:01 EDT 2008
i'm trying to follow the guide http://www.mono-project.com/MySQL here to
connect to a MySql database with C#. I already downloaded the
http://dev.mysql.com/downloads/connector/net/5.2.html Connector/NET 5.2 and
followed the instructions
http://dev.mysql.com/doc/refman/5.0/en/connector-net-installation-unix.html
here .
when i run, # gacutil -i /etc/mono/1.0/MySql.Data.dll i get "Installed
/etc/mono/1.0/MySql.Data.dll into the gac (/usr/lib/mono/gac). so that looks
all good.
but then i try to run, # gmcs TestExample.cs -r:System.Data.dll
-r:/usr/lib/mono/gac/MySql.Data/5.2.3.0_c5687fc88969c44d/MySql.Data.dll (as
specified in the guide)-- and i get:
# error CS0006: cannot find metadata file `System.Data.dll`
i did a 'find' command and, its true, the file is missing.
anyone know how i can get this to work?
i'm running Mysql 5.0.51a, Ubuntu 8.04, and Mono 1.9.1
--
View this message in context: http://n2.nabble.com/error-CS0006%3A-cannot-find-metadata-file-%60System.Data.dll%60-tp839742p839742.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list