[Mono-dev] Web service client - SendOrPostCallback could not beloaded

Kornél Pál kornelpal at gmail.com
Fri Jul 7 08:37:34 EDT 2006


Use mono_init_version () to initialize the runtime with a specific runtime 
version.
If you initialize the runtime using an assembly you should compile it with 
the appropriate version of the compiler or use .config files to specify the 
runtime version.

Use either "v1.1.4322" or "v2.0.50727" for the runtime version.

Kornél

----- Original Message ----- 
From: "Janne Rantala" <janne.rantala at gmail.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Friday, July 07, 2006 2:27 PM
Subject: Re: [Mono-dev] Web service client - SendOrPostCallback could not 
beloaded


> 2006/6/30, Robert Jordan <robertj at gmx.net>:
>>
>> Janne Rantala wrote:
>> > 2006/6/30, Miguel de Icaza <miguel at ximian.com>:
>> >>
>> >> Hello,
>> >>
>> >> > When I try to initialize client from embedded Mono, I got this error
>> >> > stating that SendOrPostCallback could not be loaded?
>> >>
>> >> It means that this method has not been implemented in Mono yet.
>> >>
>> >> Miguel
>> >>
>> >
>> > How is it possible? Few days ago I got that other error I mentioned 
>> > with
>>
>> > same assembly.
>>
>> You have to load a 2.0 assembly into the embedded runtime explicitly
>> and before calling any corlib methods with mono_runtime_invoke (),
>> otherwise the runtime will assume the 1.0 corlib.
>>
>> Robert
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
> Hi!
>
> It certainly does load mscorlib and other assemblies version 1.0.5000.0. I
> thought that Mono determines which mscorlib to load by the assembly I'm
> running?
>
> Can I somehow force Mono to use 2.0 assemblies from embedded environment?
>
> Cheers, Janne
>


--------------------------------------------------------------------------------


> _______________________________________________
> 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