[Mono-dev] Web service client - SendOrPostCallback could not be loaded
Robert Jordan
robertj at gmx.net
Fri Jul 7 10:05:52 EDT 2006
Janne Rantala wrote:
> 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?
W/out some code it's impossible to deduce what's going wrong.
Could you please your code that initializes the runtime?
Robert
More information about the Mono-devel-list
mailing list