I just tried remove Mono.Security and only reference NPGSQL, but i get the
same error.
I think NPGSQL was compiled whit Mono.Security inside.

Other thing i try is re-compile npgsql referencing Mono.Security located in
the Mono GAC, but fail again.

Any idea?

On Mon, Nov 16, 2009 at 10:39 AM, Marek Habersack
<[email protected]>wrote:

> Martín Neu wrote:
>
>> Hi Marek!
>>
> Hey,
>
>
>
>> I can't remove it becouse i need the npgsql library to connect my
>> application to PostgreSQL.
>>
> Yes, you can remove it. Mono has its own copy of Mono.Security and the one
> distributed with Npgsql (for the benefit of .NET), that is the one you're
> most likely using, is too old for your Mono.
>
> marek
>
>>
>> Any other idea?
>>
>> Thanks!
>>
>>
>>
>> On Mon, Nov 16, 2009 at 10:32 AM, Marek Habersack <
>> [email protected] <mailto:[email protected]>> wrote:
>>
>>    MNEU wrote:
>>
>>        Hi!
>>
>>    Hello
>>
>>
>>        I'm using mono in Windows environment (using npgsql), when i run
>>        the proyect
>>        with MS compiler i have no errors and work fine. But when i use
>>        the mono
>>        compiler i get this error:
>>
>>
>>        ** (C:\Program
>>        Files\Mono-2.4.2.3\lib\mono\2.0\winhack\xsp2.exe:4188):
>>        WARNING **: Missing method
>>
>>  
>> Mono.WebServer.XSPWebSource::.ctor(IPAddress,int,SecurityProtocolType,X509Certificate,PrivateKeySelectionCallback,bool,bool,bool)
>>        in assembly C:\Program
>>
>>  
>> Files\Mono-2.4.2.3\lib\mono\gac\Mono.WebServer2\0.2.0.0__0738eb9f132ed756\Mono.WebServer2.dll,
>>        referenced in assembly C:\Program
>>
>>  Files\Mono-2.4.2.3\lib\mono\gac\xsp2\2.4.2.0__0738eb9f132ed756\xsp2.exe
>>
>>
>>        I have the Mono.Security.dll referenced and in the same directory.
>>
>>    Remove it and it will work
>>
>>    marek
>>
>>
>>
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to