[MonoDevelop] Compiling localized froms
Petit Eric
surfzoid at gmail.com
Sun Dec 2 18:45:49 EST 2007
hi
I just enable Localized property on all forms of my app, mono RT
execute it correctly if i use a binary compiled with MS VS 2005, but
after recompiling the project (without error) with MD i have a strange
error at runtime :
Unhandled Exception: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.ComponentModel.InvalidEnumArgumentException: Enum argument
value '0' is not valid for ContentAlignment
at System.Windows.Forms.ToolStripItem.set_ImageAlign
(ContentAlignment value) [0x0003d] in
/home/eric/tmp/mono-latest/mono-20071127/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripItem.cs:481
at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00055] in /home/eric/tmp/mono-latest/mono-20071127/mcs/class/corlib/System.Reflection/MonoMethod.cs:149
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00082] in /home/eric/tmp/mono-latest/mono-20071127/mcs/class/corlib/System.Reflection/MonoMethod.cs:163
at System.Reflection.MonoProperty.SetValue (System.Object obj,
System.Object value, BindingFlags invokeAttr, System.Reflection.Binder
binder, System.Object[] index, System.Globalization.CultureInfo
culture) [0x00064] in
/home/eric/tmp/mono-latest/mono-20071127/mcs/class/corlib/System.Reflection/MonoProperty.cs:249
at System.Reflection.PropertyInfo.SetValue (System.Object obj,
System.Object value, System.Object[] index) [0x00000] in
/home/eric/tmp/mono-latest/mono-20071127/mcs/class/corlib/System.Reflection/PropertyInfo.cs:102
at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName,
System.Globalization.CultureInfo culture) [0x0012a] in
/home/eric/tmp/mono-latest/mono-20071127/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs:91
at System.ComponentModel.ComponentResourceManager.ApplyResources
(System.Object value, System.String objectName) [0x00000] in
/home/eric/tmp/mono-latest/mono-20071127/mcs/class/System/System.ComponentModel/ComponentResourceManager.cs:54
at CsObexFtp.MainForm.InitializeComponent () [0x015a4] in
/home/eric/Projects/CobexFtp/CobexFtp/cs-obexftp/trunk/src/MainForm.Designer.cs:558
at CsObexFtp.MainForm..ctor () [0x0003c] in
/home/eric/Projects/CobexFtp/CobexFtp/cs-obexftp/trunk/src/MainForm.cs:105
at (wrapper remoting-invoke-with-check) CsObexFtp.MainForm:.ctor ()
at CsObexFtp.MainForm.Main (System.String[] args) [0x0000b] in
/home/eric/Projects/CobexFtp/CobexFtp/cs-obexftp/trunk/src/MainForm.cs:61
More information about the Monodevelop-list
mailing list