NAnt SDK Documentation - v0.92

NAntSchemaTask Class

Creates an XSD File for all available tasks.

For a list of all members of this type, see NAntSchemaTask Members.

System.Object
   NAnt.Core.Element
      NAnt.Core.Task
         NAnt.Core.Tasks.NAntSchemaTask

[Visual Basic]
<TaskName(Name:="nantschema")>
Public Class NAntSchemaTask
    Inherits Task
[C#]
[TaskName(Name="nantschema")]
public class NAntSchemaTask : Task

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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

Example

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

    
<nantschema output="NAnt.xsd" />
    
  

Requirements

Namespace: NAnt.Core.Tasks

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

NAntSchemaTask Members | NAnt.Core.Tasks Namespace