<loadtasks>

Loads tasks form a given assembly or all assemblies in a given directory or <fileset>.

Parameters

Attribute Type Description Required
assembly file An assembly to load tasks from. False
path directory A directory to scan for task assemblies. False
failonerror bool Determines if task failure stops the build, or is just reported. The default is true. False
if bool If true then the task will be executed; otherwise, skipped. The default is true. False
unless bool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbose bool Determines whether the task should report detailed build log messages. The default is false. False

Nested Elements:

<fileset>

Used to select which directories or individual assemblies to scan.

</fileset>

Examples

Requirements

Assembly: NAnt.Core (0.91.4312.0)