[Mono-winforms-list] Error running a winform app in MacOS
pablosantosluac at terra.es
pablosantosluac at terra.es
Tue Nov 22 15:11:31 EST 2005
ok, thanks, I'll try with 1.1.9.2... let's see...
or will wait till next release...
----- Original Message -----
From: "Roberto Antonio Berrospe Machin" <robert at berlinprod.com>
To: <mono-winforms-list at lists.ximian.com>
Sent: Tuesday, November 22, 2005 9:29 PM
Subject: Re: [Mono-winforms-list] Error running a winform app in MacOS
> If you're trying to run winforms on mac native, with the last version of
> mono, you cant, you will be not able to run any winform due to that the
> drawing lib is not included, and also cocoa is not included, due to a
> desition of the maintainer.. you can contact the maintainer kangoro on the
> mono-osx at lists.ximian.com list.
> The same thing happens to me, and i've asked, then he told us that
> hapenned, and apologises for that...
> So anyway, you'll need 1.1.9 if you want that working. Or download and
> compile from svn...
>
> Grettings..
>
> Roberto.
>
> ----- Original Message -----
> From: "Peter Dennis Bartok" <peter at novonyx.com>
> To: <pablosantosluac at terra.es>; <mono-winforms-list at lists.ximian.com>
> Sent: Tuesday, November 22, 2005 4:16 PM
> Subject: Re: [Mono-winforms-list] Error running a winform app in MacOS
>
>
>> I'm no mac expert, but I believe you need to use macpack to create/run
>> the
>> application.
>>
>> Cheers,
>> Peter
>>
>> -----Original Message-----
>> From: <pablosantosluac at terra.es>
>> To: <mono-winforms-list at lists.ximian.com>
>> Date: 22 November, 2005 11:54
>> Subject: [Mono-winforms-list] Error running a winform app in MacOS
>>
>>
>>>Hi all,
>>>
>>>Well, I'm new to winforms and MacOS, so I don't know how to handle the
>>>following problem: I made a small application on Linux and then tried to
>>>run
>>>it on MacOS (it works on Linux). Well, I get the following error
>>>(mono-1.1.10).
>>>
>>>Well, maybe I don't have something correctly installed on MacOS...
>>>
>>>mac:~/develop/graph pablo$ mono GraphAnalysis.exe
>>>
>>>Unhandled Exception: System.TypeInitializationException: An exception
>>>was thrown by the type initializer for System.Windows.Forms.Form --->
>>>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.1.10/lib/libgdiplus.dylib
>>>in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
>>>(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
>>>in <0x0018c> System.Drawing.GDIPlus:.cctor ()--- End of inner
>>>exception stack trace ---
>>>
>>>in <0x00000> <unknown method>
>>>in <0x00248> System.Drawing.Image:InitFromStream (System.IO.Stream
>>>stream)
>>>in <0x00244> System.Drawing.Image:InitFromStream (System.IO.Stream
>>>stream)
>>>in <0x00154> System.Drawing.Bitmap:.ctor
>>>(System.Runtime.Serialization.SerializationInfo info, StreamingContext
>>>context)
>>>in <0x00000> <unknown method>
>>>in (wrapper managed-to-native)
>>>System.Reflection.MonoCMethod:InternalInvoke (object,object[])
>>>in <0x000c4> System.Reflection.MonoCMethod:Invoke (System.Object obj,
>>>BindingFlags invokeAttr, System.Reflection.Binder binder,
>>>System.Object[] parameters, System.Globalization.CultureInfo
>>>culture)--- End of inner exception stack trace ---
>>>
>>>in <0x00154> System.Reflection.MonoCMethod:Invoke (System.Object obj,
>>>BindingFlags invokeAttr, System.Reflection.Binder binder,
>>>System.Object[] parameters, System.Globalization.CultureInfo culture)
>>>in <0x00048> System.Reflection.MethodBase:Invoke (System.Object obj,
>>>System.Object[] parameters)
>>>in <0x00308> System.Runtime.Serialization.ObjectRecord:LoadData
>>>(System.Runtime.Serialization.ObjectManager manager,
>>>ISurrogateSelector selector, StreamingContext context)
>>>in <0x0019c> System.Runtime.Serialization.ObjectManager:DoFixups ()
>>>in <0x00070>
>>>System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
>>>(System.IO.BinaryReader reader)
>>>in <0x000ec>
>>>System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
>>>(System.IO.BinaryReader reader, Boolean readHeaders, System.Object
>>>result, System.Runtime.Remoting.Messaging.Header[] headers)
>>>in <0x001b0>
>>>System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
>>>(System.IO.Stream serializationStream,
>>>System.Runtime.Remoting.Messaging.HeaderHandler handler)
>>>in <0x0002c>
>>>System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize
>>>(System.IO.Stream serializationStream)
>>>in <0x00068> System.Resources.ResourceReader:ReadNonPredefinedValue
>>>(System.Type exp_type)
>>>in <0x004fc> System.Resources.ResourceReader:ReadValueVer1 (System.Type
>>>type)
>>>in <0x0026c> System.Resources.ResourceReader:ResourceValue (Int32 index)
>>>in <0x00048> System.Resources.ResourceReader+ResourceEnumerator:get_Value
>>>()
>>>in <0x000ec> System.Resources.ResourceSet:ReadResources ()
>>>in <0x00088> System.Resources.ResourceSet:GetObject (System.String
>>>name, Boolean ignoreCase)
>>>in <0x000d0> System.Resources.ResourceManager:GetObject (System.String
>>>name, System.Globalization.CultureInfo culture)
>>>in <0x00034> System.Resources.ResourceManager:GetObject (System.String
>>>name)
>>>in <0x00038> System.Windows.Forms.Locale:GetResource (System.String name)
>>>in <0x0001c> System.Windows.Forms.Form:.cctor ()--- End of inner
>>>exception stack trace ---
>>>
>>>in <0x00000> <unknown method>
>>>in <0x0001c> Netron.GraphAnalysis.MainForm:.ctor ()
>>>in <0x00018> Netron.GraphAnalysis.MainForm:.ctor ()
>>>in (wrapper remoting-invoke-with-check)
>>>Netron.GraphAnalysis.MainForm:.ctor
>>>()
>>>in <0x0002c> Netron.GraphAnalysis.MainForm:Main ()
>>>
>>>_______________________________________________
>>>Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
>>>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>>
>>>
>>
>> _______________________________________________
>> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.362 / Virus Database: 267.13.5/177 - Release Date:
>> 21/11/2005
>>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
More information about the Mono-winforms-list
mailing list