See the NAnt Task for common use.
You may also want to know How to force a CCNet build from a NAnt script