Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 156
نمايش فراداده

<nantschema>Creates a schema file for all available tasks.

Attribute

Type

Description

Required

output

string

The name of the output file to which the XSD should be written.

True

class

string

The Type for which an XSD should be created. If not specified, an XSD will be created for all available tasks.

False

target-ns

string

The target namespace for the output. Defaults to "http://tempuri.org/nant-donotuse.xsd."

False

failonerror

bool

Determines whether 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

Example

<nantschema output="NAnt.xsd" />