Bugs item #1120064, was opened at 2005-02-10 15:42
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1120064&group_id=31650
>Category: Documentation
Group: 0.85
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Tim Bailey (tbailey)
>Assigned to: Gert Driesen (drieseng)
Summary: <references> <lib> does not resolve references
Initial Comment:
if in the nant build file you have the following section in
the build file:
<references>
<lib>
<include name"${build.dir}\**" />
</lib>
</references>
instead of:
<references>
<include
name="C:\srcsafe\DotNet\Bin\Capstone\LzServiceDefiniti
ons.dll" />
<include
name="C:\srcsafe\DotNet\Bin\Capstone\LzCapstoneApp.d
ll" />
<include
name="C:\srcsafe\DotNet\Bin\Capstone\LzCapstoneCore.
dll" />
<include
name="C:\srcsafe\DotNet\Bin\Capstone\LzMessageDefinit
ions.dll" />
</references>
then when carrying out a clean build you get errors as
namespaces aren't resolved.
as csc has the property verbose="true" the references
aren't displayed which they are with the second version.
Traced the error down to
Nant.DotNet.Types.AssemblyFileSet.cs Scan which
takes no notice of the lib element.
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2005-03-12 14:19
Message:
Logged In: YES
user_id=707851
The nested <lib> element can only be used to have NAnt
search the directories (that are specified in that element) for
assembly references (specified using the <include> element.
I've updated the docs of the <assemblyfileset> type with an
example of how to use the <lib> element:
http://nant.sourceforge.net/nightly/latest/help/types/assemblyf
ileset.html
Note: the updated docs will only be available online after I've
uploaded a new nightly build (which should be sometime this
weekend).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1120064&group_id=31650
-------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers