BaseDirectory Property

NAnt SDK Documentation - v0.92 |

# ExecTask.BaseDirectory Property

The directory the program is in.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="basedir", ExpandProperties:=True, ProcessXml:=True)>
Overrides Public Property BaseDirectory As DirectoryInfo
[C#]
[TaskAttribute(Required=False, Name="basedir", ExpandProperties=True, ProcessXml=True)]
public override System.IO.DirectoryInfo BaseDirectory {get; set;}

#### Remarks

The directory the program is in. The default is the project's base directory.

The basedir will be evaluated relative to the project's base directory if it is relative.

#### See Also

ExecTask Class | NAnt.Core.Tasks Namespace