[Mono-dev] TypeLoadException when remoting from Windows

Robert Jordan robertj at gmx.net
Thu Feb 8 07:08:13 EST 2007


Jacob Ilsø Christensen wrote:
> On 2/8/07, Robert Jordan <robertj at gmx.net> wrote:
>> Jacob Ilsø Christensen wrote:
>>> On 2/7/07, "Andrés G. Aragoneses [ knocte ]" <knocte at gmail.com> wrote:
>>>> Jacob Ilsø Christensen escribió:
>>>>> Hi.
>>>>>
>>>>> I am trying to do a remote call from Windows to an application running
>>>>> on Linux under Mono 1.2.2.1. When I try it, I get the exception below.
>>>>> There is not much info as to what might be wrong. Is it a missing
>>>>> assembly?
>>>> Does it work with MS.NET vs MS.NET? If yes, then it's a bug in Mono. If
>>>> not, it probably gives you a better error message and that could be a
>>>> bug in Mono too because of the lack of info and you should report it.
>>> Yep, it works perfectly from MS.NET to MS.NET. I filed a bug report
>>> that mono should report a more meaningful error message
>>> (http://bugzilla.ximian.com/show_bug.cgi?id=80761).
>> Please attach a test case to this bug entry.
> 
> I would like to, but it would be much less time consuming for me if
> the TypeLoadException provided a better error message. That way I
> could easier pinpoint the issue and write a test case.

Hint: it's a MS corlib type that doesn't exist in Mono, maybe
one of these: System.RuntimeType (the underlying type of
System.Type => this basically means that you can't remote
System.Type between the runtimes) or another System.Runtime* type,
mostly used for Method/Property/Event/FieldInfo.

Robert




More information about the Mono-devel-list mailing list