[Mono-dev] Web service client - SendOrPostCallback could not be loaded

Janne Rantala janne.rantala at gmail.com
Fri Jun 30 17:03:09 EDT 2006


2006/6/30, Robert Jordan <robertj at gmx.net>:
>
> Robert Jordan wrote:
> > 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.
>
> Err, and before looking up any corlib classes, of course.
>
> Robert



Hello Robert,

Thanks for your replies, Rafael and Robert. I'm pretty sure that the
assembly that I'm using is version 2.0 and it is the first assembly that
gets loaded when Mono is started.

And also doesn't that error message in my first message mean that mscorlib
version is 2.0.0.0?

Cheers,

Janne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060701/5648e5ff/attachment.html 


More information about the Mono-devel-list mailing list