Target.

IfCondition Property

Summary

If true then the target will be executed; otherwise, skipped. The default is true.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Target

Syntax

[TaskAttribute("if", ExpandProperties = false)]
public string IfCondition { get; set; }

Attributes

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

Value

Type Description
string