[Mono-winforms-list] Possible bug with ResxResourceReader class

Gideon de Swardt gdeswardt1978 at yahoo.co.uk
Tue Oct 3 11:37:22 EDT 2006


> > The resource file you've attached can't be correctly read by MS.NET 2.0,
> > so I doubt this is a bug.
> > 
> > When I try to read the resource on MS.NET 2.0 with the following
> > code, I get "true". This means that MS.NET was not able to deserialize
> > the value.
>
> That's funny because I created the test file using the ResXResourceWriter
> in the mono framework. I will try to test and submit more code that 
> actually generated this file.

Hi Robert

I was able to recreate the problem when I generate a new resx file using the
ResxResourceWriter class. I have attached the code that generates the resx
file and then also try and read the generated file. I have run this on both
my Win32 and Linux boxes and attached both the resx files. 

It is looking like the problem is then with the writer as the resx files are
different.

Regards

Gideon de Swardt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mono.resx
Type: application/xml
Size: 15654 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061003/b11548e7/attachment-0002.rdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Win32.resx
Type: application/xml
Size: 13522 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061003/b11548e7/attachment-0003.rdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WebReferenceItem.png
Type: image/png
Size: 4515 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061003/b11548e7/attachment-0001.png 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Main.cs
Url: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20061003/b11548e7/attachment-0001.pl 


More information about the Mono-winforms-list mailing list