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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 18 15:30:38 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 gert.driesen at pandora.be.

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

--- shadow/77308	2007-01-17 16:32:16.000000000 -0500
+++ shadow/77308.tmp.30927	2007-01-18 15:30:38.000000000 -0500
@@ -169,6 +169,39 @@
 dname) [0x00009] in /home/poupou/svn/mcs/tools/resgen/monoresgen.cs:100
 
 
 ------- Additional Comments From sebastien at ximian.com  2006-09-29 09:47 -------
 This resx fails because it contains a 16bbp bitmap. This is a known
 issue (#79202) in libgdiplus.
+
+------- Additional Comments From gert.driesen at pandora.be  2007-01-18 15:30 -------
+I now get the following error (after having modified resgen locally to
+print out the InnerException of the TargetInvocationException, instead
+of the Message of the TargetInvocationException itself):
+
+** (/home/monohead/mono/install/lib/mono/1.0/resgen.exe:28406):
+WARNING **: Unsupported bitcount (16) and/or compression (0).
+Error: Exception has been thrown by the target of an invocation.
+** (/home/monohead/mono/install/lib/mono/1.0/resgen.exe:28561):
+WARNING **: Unsupported bitcount (16) and/or compression (0).
+Error: Exception has been thrown by the target of an invocation.
+Inner exception: System.ArgumentException: Invalid Parameter. A null
+reference or invalid value was found.
+  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
+  at System.Drawing.Image.InitFromStream (System.IO.Stream stream,
+Boolean keepAlive) [0x00000] 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream, Boolean
+useIcm) [0x00000] 
+  at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000] 
+  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
+(System.IO.Stream)
+  at System.Windows.Forms.ImageListStreamer..ctor
+(System.Runtime.Serialization.SerializationInfo info, StreamingContext
+context) [0x00000] 
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+  at System.Reflection.MonoCMethod.Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder,
+System.Object[] parameters, System.Globalization.CultureInfo culture)
+[0x00000] 
+


More information about the mono-bugs mailing list