<nantschema> Task

# <nantschema>

Creates an XSD File for all available tasks.

This can be used in conjuntion with the command-line option to do XSD Schema validation on the build file.

### Parameters

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

### Examples

- Creates a `NAnt.xsd` file in the current project directory.

      <nantschema output="NAnt.xsd" />

### Requirements

Assembly: NAnt.Core (0.92.4543.0)