Skip to content

NAnt - Steps

Steps

Steps

Process steps in the NAnt plug-in

Run NAnt

Execute a NAnt script

NameTypeDescriptionRequired
Command Line PropertiesStringThese properties are used as if they were passed to the nant executable on the command line.Enter each property on a separate line in the following format: -D:name=valueNo
Environment VariablesStringOptional environment variables in name=value format. Environment variable values may contain references to existing values in the following format: name=${FOO};value. If the value of FOO variable is BAR in the current environment, then the above example will be expanded to: name=BAR;value. Using this technique, it is possible to add anentry to PATH in the following manner: PATH=my/path/entry;0. Case is significant even on Windows systems.No
Mono LocationStringThe pat4h to the version of mono to run NAnt with. If this is empty or evaluates to nothing on the agent, mono will not be used.No
NAnt LocationStringThe path to the version of nant that will be used to run the build scriptYes
NAnt PropertiesStringNAnt-specific arguments, such as -extNo
NAnt Script FileStringThe name of the nant script file.Yes
Script ContentStringNo
Target NameStringThe name of the target(s) to run in the nant script file.No