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

Di Stefano, Sebastiano sdistefano.75 at gmail.com
Tue Sep 20 10:15:08 EDT 2011


Thank you Alexander, that solved my problem.

Regards,

Sebastiano



Il 20/09/2011 12:43, Alexandre Faria ha scritto:
> Hi,
>
> Have you tried this:
>
> http://2sharp4u.wordpress.com/2011/01/08/installing-mysql-connector-for-mono/
>
> Best Regards,
>
> Alex
>
> Ter, 2011-09-20 às 10:22 +0200, Di Stefano, Sebastiano escreveu:
>> 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
>>
>>
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>



More information about the Mono-aspnet-list mailing list