[Mono-aspnet-list] Problem with Mono console app and mysql connector

Di Stefano, Sebastiano sdistefano.75 at gmail.com
Tue Sep 20 04:22:48 EDT 2011


Hi all,

I have created a simple webapp (opensuse 11.4, monodevelop 2.4.2, 
mysql.data.dll 3.6.3.0) and executed it without problems.
I have a strange issue with a console app or a gtk# app. When I try to 
debug or run it, on the samesystem of the web app, I obtain the 
following error:

/Could not load file or assembly 'MySql.Data, Version=6.3.6.0, 
Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its 
dependencies.

Unhandled Exception: System.IO.FileNotFoundException: Could not load 
file or assembly 'MySql.Data, Version=6.3.6.0, Culture=neutral, 
PublicKeyToken=c5687fc88969c44d' or one of its dependencies.
File name: 'MySql.Data, Version=6.3.6.0, Culture=neutral, 
PublicKeyToken=c5687fc88969c44d'
/
I tried to put mysql.data.dll in the GAC without success.
Searching through the web I found some discussion about a bug in 
monodevelop.

Any ideas???

Many thanks



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110920/d7bff16e/attachment.html 


More information about the Mono-aspnet-list mailing list