I created a NAnt template for developing NAnt scripts. This template includes global variables, comments, different targets based on the deployment, job, action structure that I have talked about previously.
I have provided the entire text file listed below, and also a zip file with the template in a NAnt .build file for download.
DownloadTemplate
Template code:<project [...]
Don’t use the depends script for everything it is bad form. This is mistake I was doing when I first learned NAnt. Depends has it place, but most times you should use <call> instead of declaring it depends in the target tag. depends should be reserved for use when something has to happen [...]
You can use NAnt with either VB or C# to write your own custom tasks. This truly is a killer feature, once you are able to implement custom tasks in C# you can make NAnt do almost anything. This allows you to address some of NAnts weaknesses, primarly it is a build and [...]