[Mono-osx] Unable to run .Net windows applicationon Mac 10.4[Tiger]

Brian Dunstan bdunstan at likewisesoftware.com
Mon Jul 7 12:15:19 EDT 2008

Hi Geoff,

Do you know if anyone is working on making it possible to run .Net apps on OS X without installing X11, either in Mono 1.9.x or future versions of Mono?


Brian Dunstan

-----Original Message-----
From: mono-osx-bounces at lists.ximian.com [mailto:mono-osx-bounces at lists.ximian.com] On Behalf Of Geoff Norton
Sent: Monday, June 23, 2008 6:53 AM
To: Amit_k
Cc: mono-osx at lists.ximian.com
Subject: Re: [Mono-osx] Unable to run .Net windows applicationon Mac 10.4[Tiger]

On Mon, 2008-06-23 at 06:46 -0700, Amit_k wrote:
> Hi Geoff,

> Objective: The idea is not to use x11 in Mac to run the windows application.
> So I need to run the application on Mac natively.

You still need X11 installed.  Please see the numerous messages about
this on the list.

> Step 1: Installed the product[abc.dmg] on Mac 10.4
> Step 2: Installed Mono 1.9
> Step 3: Configured MONO_CONFIG 


> Step 4: Configured LD_LIBRARY_PATH

why? this is a linux variable.

> Step 5: when i run mono abc.exe
> Step 6: I got the below exception 
> Unhandled Exception: System.Reflection.TargetInvocationException: Exception
> has been thrown by the target of an invocation. --->
> System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
> /Library/Frameworks/Mono.framework/Versions/1.9.1/lib/libgdiplus.dylib

this is (likely) due to x11 not being installed.

> Step 7: I set loglevel to debug: MONO_LOG_LEVEL=debug mono abc.exe
> Step 8: Then I am encountering the following message
> /Library/Frameworks/Mono.framework/Versions/1.9/lib/mscorlib.dll is an
> invalid CIL image”

This is for a verion 1.9, when you're trying to run 1.9.1.


Mono-osx mailing list
Mono-osx at lists.ximian.com

More information about the Mono-osx mailing list