ExecTask.

WorkingDirectory Property

Summary

The directory in which the command will be executed.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
ExecTask

Syntax

[TaskAttribute("workingdir")]
public DirectoryInfo WorkingDirectory { get; set; }

Remarks

The working directory will be evaluated relative to the project's base directory if it is relative.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.

Value

Type Description
DirectoryInfo The directory in which the command will be executed. The default is the project's base directory.