IfTask.

TargetNameExists Property

Summary

Used to test whether a target exists.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
IfTask

Syntax

[TaskAttribute("targetexists")]
[System.Obsolete("Use <if test=\"${target::exists('targetname')}\"> instead.", false)]
public string TargetNameExists { get; set; }

Attributes

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

Value

Type Description
string