[Mono-dev] MySql Connectivity in Mono/xsp for linux
Daniel Morgan
danielmorgan at verizon.net
Wed Nov 30 20:03:35 EST 2005
You only set it up for the runtime. Mono's C# compiler mcs needs to
find the assembly to compile.
The GAC is only for the runtime. The C# compiler does not look in the GAC.
Wherever your assembly is installed, make sure it can be found via the PATH.
ejaz.butt at netsolpk.com wrote:
>
> Hello,
> I'm currently using VS.Net 2003 to write some asp.NET/C#
> pages and I'm trying to connect it with MySQL 5.0. I've installed
> MySql connector (MySql.Data.dll)and it works fine with .Net Framework
> on windows. but once I attempt to move the asp.NET pages to the
> linux(fedora) mono/xsp server the pages begin to generate the
> following error:
>
> "*Could not find assembly MySql.Data*"
>
> What seems to be the problem? i am very much confused of this becoz i
> have registered the MySql.Data using the following comd:
>
> *[/]# gacutil -i ./MySQL.Data.dll*
> MySql.Data installed into the gac (/usr/local/lib/mono/gac)
>
> *[/]# gacutil -l MySql.Data*
> The following assemblies are installed into the GAC:
> MySql.Data, Version=1.0.3.31712, Culture=neutral,
> Number of items = 1
>
> I'll be very grateful to u on ur immediate response (Thanks in advance)
>
>
> Ejaz Butt
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
More information about the Mono-devel-list
mailing list