NAnt SDK Documentation - v0.92

Project.BaseDirectory Property

Gets or sets the base directory used for relative references.

[Visual Basic]
Public Property BaseDirectory As String
[C#]
public string BaseDirectory {get; set;}

Property Value

The base directory used for relative references.

Remarks

The BaseDirectory gets and sets the built-in property named "nant.project.basedir".

Exceptions

Exception TypeCondition
BuildExceptionThe directory is not rooted.

See Also

Project Class | NAnt.Core Namespace