Title: Incorporating NAntContrib into NAnt

Christina,

 

There are two ways to accomplish this.  The “easy” way is to copy the content of the NAntContrib bin folder into the NAnt bin folder, however this is not the recommended way.

 

The recommended way is to install NAntContrib to a separate location and use the <loadtasks> task to load the necessary assemblies.  This would be something like:

 

<loadtasks>

            <fileset>

                        <include name=”c:/NAntContrib/bin/**/*.dll” />

            </fileset>

</loadtasks>

 

The advantage of doing it this way is that if you upgrade your version of NAnt, you don’t need to remember what additional files you had in your NAnt bin folder to get all your scripts running.

 

HTH,

 

Bill

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Crawford, Christina
Sent: 15 March 2006 20:09
To: [email protected]
Subject: [NAnt-users] Incorporating NAntContrib into NAnt

 

What is the best way to incorporate the NAntContrib tasks and functions into the
Current Nant product?  I want to be able to use NAntContrib functions and tasks
In my Nant build file and don't see any references to the Nantcontrib dll's anywhere
Within Nant.

Christina Crawford

Reply via email to