ExecTask.

FileName Property

Summary

The program to execute without command arguments.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ExecTask

Syntax

[TaskAttribute("program", Required = true)]
[StringValidator(AllowEmpty = false)]
public string FileName { get; set; }

Remarks

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

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string