[Mono-dev] "mscorlib.dll is an invalid CIL image"

Chris Plasun chrispl78 at yahoo.com
Tue Apr 28 15:55:41 EDT 2009


Thanks for your reply Rodrigo.

I copied mcorlib.dll both from the Microsoft .NET distribution 
and from the Mono distribution so it should be valid. I tried various versions.

The Mono version is 2.2 and it is cross compiled for powerpc-e300c3

Is there a "standard" powerpc-e300c3 version of Mono that I can use? 

Can I use ANY version of Mono for the PowerPC?

How would I trace into the error I'm receiving?

Thanks again.
Chris Plasun



________________________________
From: Rodrigo Kumpera <kumpera at gmail.com>
To: Chris Plasun <chrispl78 at yahoo.com>
Cc: mono-devel-list at lists.ximian.com
Sent: Tuesday, April 28, 2009 12:23:53 PM
Subject: Re: [Mono-dev] "mscorlib.dll is an invalid CIL image"

This might be a bug in your mscorlib.dll or the mono runtime decoding functions.

What version of mono are you using? Did you cross compile or built on the host?

Is your mscorlib really valid?



On Tue, Apr 28, 2009 at 3:56 PM, Chris Plasun <chrispl78 at yahoo.com> wrote:


Hi,

I'm trying to get Mono working on a Freescale MPC8313 PowerPC embedded Linux board.

When I try to run a 'hello world' application I get the following error:

"mscorlib.dll is an invalid CIL image"

I've looked around on Google and I have **nothing** that gets me a step further.

I'm out of options as far as I know.

Does anyone know how I can fix this issue?

Thank you for any help.

Chris Plasun


More information about the Mono-devel-list mailing list