ProjectFunctions.

GetBuildFilePath() Method

Summary

Gets the local path to the build file.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
ProjectFunctions

Syntax

[Function("get-buildfile-path")]
public string GetBuildFilePath()

Attributes

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

Return Value

Type Description
string The local path of the build file, or an empty string if the project is not file backed.