NAnt SDK Documentation - v0.92

ScriptTask.MainClass Property

The name of the main class containing the static ScriptMain entry point.

[Visual Basic]
<TaskAttribute(Name:="mainclass", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property MainClass As String
[C#]
[TaskAttribute(Name="mainclass", Required=False, ExpandProperties=True, ProcessXml=True)]
public string MainClass {get; set;}

See Also

ScriptTask Class | NAnt.DotNet.Tasks Namespace