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>
<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