NAnt SDK Documentation - v0.85-nightly-2005-11-09

ExecTask.FileName Property

[This is preliminary documentation and subject to change.]

The program to execute without command arguments.

[Visual Basic]
<TaskAttribute(Name:="program", Required:=True, ExpandProperties:=True, ProcessXml:=True), _  StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property FileName As String
[C#]
[TaskAttribute(Name="program", Required=True, ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
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