Hello,
I'd like to include files as resources in my assembly. I'm using NAnt
0.85RC3 with Mono 1.1.10

For example:
<csc target="library" output="${dir}/Database.dll">
    <sources>
        <include name="AssemblyInfo.cs" />
        <include name="Libraries/Database/*.cs" />
    </sources>
    <resources failonempty="true" basedir="." id="sample">
        <include name="../tools/MediaDB/MediaInfoDB.sql" />
    </resources>
</csc>

But I cannot use the id in <resources>: I got an error message saying
that id is only available at the project or target level. How can I
assign an ID to the file I want to include?

Thank you
Julien


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to