[Mono-list] MySql Connector/Net in mono(Cannot find assembly `MySql.Data.dll')
robertj at gmx.net
Sat Jul 15 08:33:44 EDT 2006
Neena George wrote:
> I m using suse10& mono 1.1.13.I downloaded MySql Connecotr/Net as told
> in www.mono-project.com/MySql,& installed MySql.Data.dll in GAC. & did
> the programming.but i got the error as
> Cannot find assembly `MySql.Data.dll'
> Someone please help me to resolve it.i am stuck with it.
> Should MySql.Data.dll be installed in any other directory.now i
> extracted it to a folder.
> Help me.
Mcs (like csc) doesn't reference assemblies from the GAC.
You have to specify them either with -r:/path/to/assembly.dll
or use -L /path/to/ -r:MySql.Data.dll.
[I've updated http://www.mono-project.com/MySQL accordingly]
More information about the Mono-list