Hey,

Would it be possible to send me a small repro for this issue?

Gert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: zondag 7 september 2008 6:53
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Problems with .ico files referenced in a .resx

I could not figure out from the documentation how the heck am I supposed to
let the nant know where the external .ico files are located when compiling a
.resx file... I have a .resx file containing the following definition:

 <data name="DataGridTextAreaButton" type="System.Resources.ResXFileRef,
System.Windows.Forms">
    <value>DataGridTextAreaButton.ico;System.Drawing.Icon, System.Drawing,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
50a3a</value>

This is supposed to load the specified .ico file into the resulting
.resources, but nant keeps failing with an error "[resgen] Inner exception:
Could not find file "/tmp/tmp5639f2ee.tmp/DataGridTextAreaButton.ico".  Line
123, position 5.". My <resources> definition is:

 <resources dynamicprefix="true" prefix="some prefix" basedir="some base
dir">
                            <include name="**.resx" />
                        </resources>

Nant finds the .resx files and copies them to a temp directory but not the
.ico files. 


      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to