[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
Sun Jan 21 13:19:45 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.

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

--- shadow/80565	2007-01-21 10:47:10.000000000 -0500
+++ shadow/80565.tmp.27854	2007-01-21 13:19:45.000000000 -0500
@@ -48,6 +48,45 @@
 While looking into this, I also noticed that we do not use 
 ResXResourceReader.BasePath to resolve relative paths. We need this 
 change in order to implemented the /usesourcepath option of resgen(2).
 
 If anyone can point me to more docs on ResXFileRef, I'd be glad to 
 take a look at this one.
+
+------- Additional Comments From frederik.carlier at ugent.be  2007-01-21 13:19 -------
+What kind of docs do you need? I assume you are familiar with these:
+http://msdn2.microsoft.com/en-us/library/system.resources.resxfileref.aspx
+;)
+
+I'm not sure the issue you are raising related to /usesourcepath is
+the same as the one I'm having here (an thus may merit its own bug
+report).
+
+As a matter of fact, I think I may be hitting an /usesourcepath
+related issue. Using Nant to build my project, I get the following output:
+
+      [csc] Compiling 38 files to
+'/home/fcarlier/development/voffice/out/VIA.UI.dll'.
+               [resgen] Error: Exception has been thrown by the target
+of an invocation.
+               [resgen] Inner exception: Could not find a part of the
+path "/tmp/Resources".
+
+This occurs when building a projec that was originally developed using
+Visual Studio 2005. It therefore has a file /Properties/Resources.resx
+that refers to resoures in /Resources, eg:
+
+  <data name="Expand_small" type="System.Resources.ResXFileRef,
+System.Windows.Forms">
+    <value>../Resources/Expand_small.bmp;System.Drawing.Bitmap,
+System.Drawing, Version=2.0.0.0, Culture=neutral,
+PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+ 
+I wasn't sure at first if it was a Mono or Nant issue, but apparantly
+it is a Mono issue. 
+
+I'd like to point out that this is an issue you are likely to hit when
+ building a Windows Forms application designed in Visual Studio 2005
+under Linux using Nant. 
+
+Anyway, thanks for the fast response.


More information about the mono-bugs mailing list