NAnt SDK Documentation - v0.92 |

# ProjectFunctions.GetBaseDirectory Method

Gets the base directory of the current project.

[Visual Basic]
<Function(Name:="get-base-directory")>
Public Function GetBaseDirectory() As String
[C#]
[Function(Name="get-base-directory")]
public string GetBaseDirectory();

#### Return Value

The base directory of the current project.

#### See Also

ProjectFunctions Class | NAnt.Core.Functions Namespace