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

Andreas Färber andreas.faerber at web.de
Mon Jun 23 09:57:04 EDT 2008


Amit,

Some comments:
If your Win app is a WinForms app, you will still need X11 installed  
even for the native display.
You say you installed Mono 1.9 but the error is about 1.9.1. Note that  
they get installed to separate directories.

Andreas

Am 23.06.2008 um 15:46 schrieb Amit_k:

>
> Hi Geoff,
>
> I dint receive any message such as "Disk space is Full" while  
> installing the
> Mono.
>
> I will tell you the steps that i have taken in running the  
> application.
> Please point out and correct me where i am wrong.
>
>
> 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.
>
> 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
> 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
>
> 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”
>
> Please advice me on this.Waiting for your reply.
>
>
>
> Geoff Norton-2 wrote:
>>
>> It appears something has corrupted your install.  Did you run out of
>> disk space while installing?
>>
>> -g
>>
>> On Thu, 2008-06-19 at 04:05 -0700, Amit_k wrote:
>>> Hi All,
>>>
>>> I am using Mac OS x 10.4, and i need to run my win application  
>>> developed
>>> on
>>> .net framework on Mac.
>>>
>>> I wanted to run this application without using x11. So i have  
>>> installed
>>> mono
>>> 1.9 which natively supports  the Mac. When i try to run the  
>>> application I
>>> am
>>> encountering this exception.
>>>
>>> "The file
>>> /Library/Frameworks/Mono.framework/Versions/1.9/lib/mscorlib.dll
>>> is an invalid CIL image”
>>>
>>> Please advice me. Thanks in Advance.
>>>
>>> Amit
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Unable-to-run-.Net-windows-application-on-Mac-10.4-Tiger--tp18005773p18069223.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> 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