[Mono-devel-list] OS/X, Postgres and Npgsql Problem

Francisco Figueiredo Jr. fxjrlists at yahoo.com.br
Thu Jul 29 22:56:55 EDT 2004


Jason Foster wrote:

> Npgsql, Version=1.0.5000.0, Culture=neutral, 
> PublicKeyToken=5d8b90d52f46fda7
> 
> SQL# \Open
> Attempt to open connection...
> Loading external provider...
> Error: unable to load the assembly of the provider: Npgsql : File 
> 'Npgsql' not found.
> 

It works if you change the assembly name from Npgsql to
Npgsql, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7

as returned by gacutil.

On line 988 of SqlSharpCli.cs


Also, it works if you put the Npgsql.dll assembly in the same place as 
sqlsharp.exe

I don't know exactly what would be the best way of fix sqlsharp. I think 
we could just add the full name of assembly instead of using its 
canonical name.


I hope it helps.


Regards,

Francisco Figueiredo Jr.



More information about the Mono-devel-list mailing list