NAnt SDK Documentation - v0.92

FileUtils.GetFullPath Method 

Returns Absolute Path (Fix for 260 Char Limit of Path.GetFullPath(...))

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

Parameters

path
The file or directory for which to obtain absolute path information.

Return Value

Path Resolved

Exceptions

Exception Type Condition
ArgumentException path is a zero-length string, contains only white space or contains one or more invalid characters as defined by InvalidPathChars.
ArgumentNullException path is a null reference (Nothing in Visual Basic).

See Also

FileUtils Class | NAnt.Core.Util Namespace