You could in fact use a combination of the dynamicprefix and prefix attributes of the <resources> element.
The following should match the VS.NET behaviour in the latest 0.8.4 nightly build's (I fixed a bug concerning this today, so you should perhaps wait for the next nighlty build): <csc ... output=".../XXX.exe"> <sources> .... </sources> <resources dynamicprefix="true" prefix="XXX"> .... </resources> </csc> Whether you should use the prefix attribute depends on what the base directory of the resources element is ... Gert ----- Original Message ----- From: "Brett Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 11:03 PM Subject: RE: [Nant-users] nant bug - embedded Crystal report files as resources > Can't you just use the prefix attribute when embedding them? Works for > resource files and any other files I choose to embed such as xml files > ,etc. > > Brett > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael > Dang > Sent: Thursday, 20 November 2003 3:17 AM > To: [EMAIL PROTECTED] > Subject: [Nant-users] nant bug - embedded Crystal report files as > resources > > > Hi, > > Sorry about the repost but I think it will gain more attention if i > start a new thread. > > The original post is here. > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01510.ht > ml > > The problem is that Crystal Report Files (.rpt) are not being prefixed > with the filepath\namespace that other embedded resources > do. e.g. .resx files > > One way of getting around it was to rename my .rpt and corresponding .cs > files to have the filepath/namespace prefix. > > Example: > > my dir structure > > MyProject.Name > \Reports > > Renamed File > MyProject.Name\Reports\myreport.rpt > MyProject.Name\Reports\myreport.cs > > To > MyProject.Name\Reports\MyProject.Name.Reports.myreport.rpt > MyProject.Name\Reports\MyProject.Name.Reports.myreport.cs > > This works but is ugly. Wondering if the Nant Developers would add in > support for .rpt (Crystal Report files) just like in the support > resolution in the following bug tracker link. > > http://sourceforge.net/tracker/index.php?func=detail&aid=805307&group_id > =31650&atid=402868 > > > Would you support this small bug change Nant developers? > > Plus, would you consolidate the code solution in the above link to a > daily build and eventually into the next release?? > > thanks, > > mike > > > ===== > Michael Dang > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. Does > SourceForge.net help you be more productive? Does it help you create > better code? SHARE THE LOVE, and help us help YOU! Click Here: > http://sourceforge.net/donate/ > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users