Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

NAnt integration

JeremySkinner edited this page Sep 13, 2010 · 1 revision

Phantom’s NAnt integration allows you to run NAnt tasks from within a Phantom build script.

To achieve this, you need to place additional dlls in the same directory as Phantom.exe:

  • Phantom.Integration.Nant.dll (part of the Phantom release distribution)
  • NAnt.Core.dll
  • The assembly that contains the nant tasks

From within your build script you can then include the tasks, eg:

import tasks from NAnt.Core
target default:
   echo(message : "Hello from NAnt!")

This will call the ‘echo’ task contained in Nant.Core.dll.

Clone this wiki locally