<ndoc>

Runs NDoc V1.3.1 to create documentation.

See the NDoc home page for more information.

Note: By default, only the NDoc MSDN documenter ships as part of the NAnt distribution. To make another NDoc documenter from the NDoc V1.3.1 distribution available to the <ndoc> task, copy the documenter assembly (and possible dependencies) to the "lib" directory corresponding with the CLR you're running NAnt on (eg. <nant root>/bin/lib/net/1.1).

Parameters

Attribute Type Description Required
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:

<assemblies>

The set of assemblies to document.

</assemblies>

<summaries>

The set of namespace summary files.

</summaries>

<documenters>

Specifies the formats in which the documentation should be generated.

Represents an element of which the XML is processed by its parent task or type.

</documenters>

<referencepaths>

Collection of additional directories to search for referenced assemblies.

</referencepaths>

Examples

Requirements

Assembly: NAnt.DotNetTasks (0.91.4312.0)