[Mono-dev] "mscorlib.dll is an invalid CIL image"
kumpera at gmail.com
Tue Apr 28 18:32:35 EDT 2009
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list