DirectoryFunctions.

GetCurrentDirectory() Method

Summary

Gets the current working directory.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
DirectoryFunctions

Syntax

[Function("get-current-directory")]
public static string GetCurrentDirectory()

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Return Value

Type Description
string A string containing the path of the current working directory.