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

Geoff Norton gnorton at novell.com
Mon Jul 7 12:20:18 EDT 2008


Brian,

  At this time no one is working on it (to my knowledge).  I would be
happy to provide direction if someone wanted to undertake this task.
Basically all the font code in libgdiplus would need to be rewritten to
use quartz-font instead of directly accessing freetype/fontconfig.
Alternatively we could use pango-cairo which provides quartz-font for
the measurments/etc.

-g

On Mon, 2008-07-07 at 12:15 -0400, Brian Dunstan wrote:
> 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?
> 
> 
> Thanks,
> 
> 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 
> 
> why?
> 
> > 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.
> 
> -g
> 
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx



More information about the Mono-osx mailing list