NAnt SDK Documentation - v0.92

ProjectFunctions.GetName Method 

Gets the name of the current project.

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

Return Value

The name of the current project, or an empty String if no name is specified in the build file.

See Also

ProjectFunctions Class | NAnt.Core.Functions Namespace