[Mono-bugs] [Bug 80565][Nor] Changed - Error using resgen to generate a resource containing an icon

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 30 11:54:25 EST 2007

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 frederik.carlier at ugent.be.


--- shadow/80565	2007-01-30 11:17:35.000000000 -0500
+++ shadow/80565.tmp.13571	2007-01-30 11:54:25.000000000 -0500
@@ -105,6 +105,13 @@
 decoder-only codec, i.e. it can't save in the ICO format.
 I already have unit tests to confirm this (but I'll review them
 anyway). I think our resgen tool shouldn't load and save using the
 codecs (but only embed the file) and this should be easy to test under
 MS (with an invalid ICO file).
+------- Additional Comments From frederik.carlier at ugent.be  2007-01-30 11:54 -------
+I had a quick look at the code, and it seems like resgen uses the
+System.Resources.ResourceWriter class, which in turn uses binary
+serialization to write out the contents. That is, the object gets
+loaded and then serialized back into the resources file.
+Can't test it on Windows for the moment, though.

More information about the mono-bugs mailing list