Jake, That is indeed the correct syntax, but I assumed there was another problem (something NAnt handles different from VS.NET) ...
Gert ----- Original Message ----- From: "Jake Foster" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 6:43 PM Subject: RE: [Nant-users] Problems with <resources> in CSC task Gert- Thanks for the quick response. Unfortunately, this one seems to be operator error <cringe>! Shortly after submitting this post I discovered that the correct format for the /resource: switch in CSC is exactly as NAnt is building it: /resource:<filepath>,<qualified-resource-name> Sorry about the red herring. Next time I'll do a little more research before I clutter up the list with a bogus post. Sincerely, Jake -----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 12:34 AM To: Jake Foster; [EMAIL PROTECTED] Subject: Re: [Nant-users] Problems with <resources> in CSC task We'll look into this as soon as possible ... Thanks for the report ! Gert ----- Original Message ----- From: "Jake Foster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 3:29 AM Subject: [Nant-users] Problems with <resources> in CSC task I'm trying to compile embedded resources into my binary using the <resources> sub-element of the <csc> task. I've got this right now: <csc> ... <resources> <includes name="${sourceDirectory}\Resources\*.*" /> </resources> </csc> When I turn on verbose compiler output I see that it's processing the <include> but it's adding a comma (,) and the un-pathed filename to the end of the string. So one line of the verbose out put looks like this: "/resource:C:\src\Resources\SomeResourceFile.txt,SomeResourceFile.txt" Obviously, this doesn't work. I've tried absolutely *everything* I can think of and nothing else seems to get even close to working (usually NAnt just ignores the <resources> element altogether if it's malformed.) This seems like it might be a bug, but I hate to jump to conclusions before I've ruled out operator error. I'm using NAnt.exe version 0.8.3.23326 which is the most recent version (afaik) -- downloaded from sourceforge today (10/27/2003.) Any help would be greatly appreciated... __________________________________ Jake Foster Software Engineer RelayHealth Corporation ------------------------------------------------------- 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-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
