What I do is something like this:

<fileset id="project.references"
basedir="${nant.settings.currentframework.frameworkdirectory}/">
        <include name="System.dll"/>
        <include name="System.Data.dll"/>
        <include name="System.Xml.dll"/>
        <include name="System.Drawing.dll"/>
</fileset>

where I am explicitly setting the framework version to build with like this:

<property name="nant.settings.currentframework" value="net-1.0"/>

The trick then is other references (as merging filesets is not
currently trivial).  I use a property to identify the ref path:

<fileset id="project.references"
basedir="${nant.settings.currentframework.frameworkdirectory}/">
        <include name="System.dll"/>
        <include name="System.Data.dll"/>
        <include name="System.Xml.dll"/>
        <include name="System.Drawing.dll"/>
        <include name="${build.references}\myref.dll"/>
</fileset>

-josh


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to