NAnt SDK Documentation - v0.85-nightly-2005-11-09

Project.BaseDirectory Property

[This is preliminary documentation and subject to change.]

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