[Mono-bugs] [Bug 77308][Nor] New - resgen fails to compile VS.Net resources

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 19 13:37:48 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 sandy.dunlop at gmail.com.

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

--- shadow/77308	2006-01-19 13:37:48.000000000 -0500
+++ shadow/77308.tmp.1398	2006-01-19 13:37:48.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 77308
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: Linux 2.6.10-5-386 Kubuntu
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sandy.dunlop at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: resgen fails to compile VS.Net resources
+
+Description of Problem:
+
+When trying to compile a resource file with an ImageStream that was
+produced by VS.Net, Mono's resgen gives a "Object reference not set to an
+instance of an object" error.
+
+
+Steps to reproduce the problem:
+1. Type: resgen /compile frmJanitor.resx
+
+Actual Results:
+Following output is displayed:
+"Read in 79 resources from 'frmJanitor.resx'
+Error: Object reference not set to an instance of an object"
+frmJanitor.resources is 233 bytes
+
+
+Expected Results:
+The error should not be displayed, and is not displayed by Microsoft's
+resgen tool. frmJanitor.resources should be 47546 bytes.
+
+
+How often does this happen? 
+Every time
+
+
+Additional Information:
+Removing the ilstButtons.ImageStream image stream from the frmJanitor.resx
+file allows resgen to work correctly, but then the ImageList is obviously
+not in the resources file. 
+
+Also, if an application is built using the resource file generated form
+VS.Net, the application is unable to display the images - this separate
+problem looks related to Bug 43567.


More information about the mono-bugs mailing list