DefaultTarget Property

NAnt SDK Documentation - v0.92 |

# NAntTask.DefaultTarget Property

The target to execute. To specify more than one target seperate targets with a space. Targets are executed in order if possible. The default is to use target specified in the project's default attribute.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="target", ExpandProperties:=True, ProcessXml:=True)>
Public Property DefaultTarget As String
[C#]
[TaskAttribute(Required=False, Name="target", ExpandProperties=True, ProcessXml=True)]
public string DefaultTarget {get; set;}

#### See Also

NAntTask Class | NAnt.Core.Tasks Namespace