[Mono-bugs] [Bug 78265][Nor] Changed - S.D.Color serialization is not compatible with MS.NET

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 8 15:06:59 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by peter at novonyx.com.


--- shadow/78265	2006-05-02 11:05:59.000000000 -0400
+++ shadow/78265.tmp.9151	2006-05-08 15:06:59.000000000 -0400
@@ -3,21 +3,21 @@
 Version: 1.1
 OS: unknown
 OS Details: Windows XP SP2
 Status: NEW   
 Severity: Unknown
-Priority: Major
-Component: Windows.Forms
+Priority: Normal
+Component: Sys.Drawing.
 AssignedTo: peter at novonyx.com                            
 ReportedBy: don at edvalson.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: TreeNode's serialization is not compatible with MS.NET
+Summary: S.D.Color serialization is not compatible with MS.NET
 Resgen crashes when trying to compile the attached resource file. The 
 crash occurs at line 1783 of the attached .resx file
 ------- Additional Comments From don at edvalson.net  2006-05-02 10:56 -------
 Created an attachment (id=16895)
@@ -79,6 +79,35 @@
 in (wrapper managed-to-native)
 System.Reflection.MonoCMethod:InternalInvoke (object,object[])
 in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj,
 BindingFlags invokeAttr, System.Reflection.Binder binder,
 System.Object[] parameters, System.Globalization.CultureInfo culture)
+------- Additional Comments From peter at novonyx.com  2006-05-08 15:06 -------
+It would seem that the property bag is not always encoded into a 
+TreeNode. I've fixed that part in svn r60416. So the original bug is 
+I created a test that actually contains a property bag, and that 
+causes now de-serialization problems with S.D.Color. 
+Error going from Mono serialized to MS.Net:
+[s:\winforms\bug78265]resgen AdvancedClothingEditor.resx
+error: Invalid ResX input.
+error: Specific exception: SerializationException  Message: Invalid 
+ResX input.
+---> SerializationException: Possible Version mismatch. Type 
+r has 4 members, number of members deserialized is 7.
+2 error(s).
+Going from MS serialized to Mono deserialized:
+pbartok2:/swf/winforms/bug78265 # resgen AdvancedClothingEditor.resx 
+Unhandled Exception: System.Reflection.TargetInvocationException: 
+Exception has been thrown by the target of an invocation. ---> 
+System.Runtime.Serialization.SerializationException: Field "value" 
+not found in class System.Drawing.Color
+Attaching the updated resource file that still fails.

More information about the mono-bugs mailing list