[Mono-dev] "mscorlib.dll is an invalid CIL image"
Rodrigo Kumpera
kumpera at gmail.com
Tue Apr 28 18:32:35 EDT 2009
Cris,
2009/4/28 Chris Plasun <chrispl78 at yahoo.com>
>
> (BTW is top posting anathema here?)
>
> Hi Kornél,
>
> Thank you for your reply.
>
> I can run the Mono executable from the NFS directory which is on a virtual
> Suse box
> but I get the 'mscorlib.dll is an invalid CIL image' error when I try to
> run a test program.
>
> I'm trying to run this on a PowerPC board (Freescale MPC8313), could big
> endian/little endian
> issues into account given that mscorlib.dll is an Intel binary format file,
> or is this
> something Linux on the board abstracts away?
>
> I've used various versions of the mscorlib.dll file. The last time I used
> MSCORLIB.DLL from a
> SUSE Mono distribution.
>
You must use a matching mscorlib for the exact compiled mono runtime you
have. Grabbing a
random one just won't work.
Are you sure you cross compiled it correctly? Did you validate your setup?
Cheers,
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090428/63903c87/attachment.html
More information about the Mono-devel-list
mailing list