Hi,

I'm trying to use the <resources> tag in the <csc> task, but i can't
seem to find any good examples on how to do this. I'm attempting to
convert the following part of a Makefile.am to nant:

$(CSC) -debug -out:browser.exe $(browser_sources) -resource:
$(srcdir)/../monodoc.png,monodoc.png -resource:
$(srcdir)/browser.glade,browser.glade  $(browser_assemblies) -
r:./monodoc.dll

mcs has a "-resource" parameter:

-resource:RESOURCE[,ID]
      Embeds to the given resource file.  The optional ID can be  used
      to give a different name to the resource.  If not specified, the
      resource name will be the file name.

How is this done in nant?

>From looking at the docs, you can assign an id to the <resources> tag
itself, but does that then apply to all included files in there? Or are
multiple <resources> elements allowed in a <csc> task?

Thanks,

Jeroen



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to