Summary
Gets the base directory of the appdomain in which NAnt is running.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- NAntFunctions
Syntax
[Function("get-base-directory")]
public string GetBaseDirectory()
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
| Type | Description |
|---|---|
| string | The base directory of the appdomain in which NAnt is running. |
