[Mono-bugs] [Bug 77692][Wis] New - [PATCH] Serialized resource generated with Mono cannot be deserialized on MS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Mar 2 18:20:43 EST 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.

http://bugzilla.ximian.com/show_bug.cgi?id=77692

--- shadow/77692	2006-03-02 18:20:43.000000000 -0500
+++ shadow/77692.tmp.19971	2006-03-02 18:20:43.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 77692
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: peter at novonyx.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] Serialized resource generated with Mono cannot be deserialized on MS
+
+When compling a resource file containing the following text with Mono's 
+resgen, the resulting .resource file cannot be loaded/deserialized on 
+MS.Net.
+
+<data name="$this.Language" type="System.Globalization.CultureInfo, 
+mscorlib, Version=1.0.5000.0, Culture=neutral, 
+PublicKeyToken=b77a5c561934e089">
+  <value>(Default)</value>
+</data>
+
+I have attached a diff for corlib/System.Globalization that, when applied, 
+allows to load the mono generated resources on MS.Net. I tried to match 
+fields where possible in DateTimeFormatInfo, but since I'm not intimately 
+familiar with it I might have missed something.
+I also marked several fields as [NonSerialized] until MS would load the 
+file. I won't claim it's all correct :-) 
+
+Testcode that shows the problem is attached to bug 77673 . Just compile 
+with Mono an try and run on Win32 with MS.Net


More information about the mono-bugs mailing list