NAnt SDK Documentation - v0.92

Project.GetFullPath Method 

Combines the specified path with the BaseDirectory of the Project to form a full path to file or directory.

[Visual Basic]
Public Function GetFullPath( _
   ByVal path As String _
) As String
[C#]
public string GetFullPath(
   string path
);

Parameters

path
The relative or absolute path.

Return Value

A rooted path, or the BaseDirectory of the Project if the path parameter is a null reference.

See Also

Project Class | NAnt.Core Namespace