NAnt SDK Documentation - v0.92

ExecTask.FileName Property

The program to execute without command arguments.

[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null"), _  TaskAttribute(Required:=True, Name:="program", ExpandProperties:=True, ProcessXml:=True)>
Public Property FileName As String
[C#]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Required=True, Name="program", ExpandProperties=True, ProcessXml=True)]
public string FileName {get; set;}

Remarks

The path will not be evaluated to a full path using the project base directory.

See Also

ExecTask Class | NAnt.Core.Tasks Namespace