ProjectFunctions.

GetBaseDirectory() Method

Summary

Gets the base directory of the current project.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
ProjectFunctions

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 current project.