NAnt SDK Documentation - v0.92

IfTask.PropertyNameTrue Property

NOTE: This property is now obsolete.

Use <if test="${propertyname}"> instead.


Used to test whether a property is true.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="propertytrue", ExpandProperties:=True, ProcessXml:=True), _  Obsolete(Message:="Use <if test="${propertyname}"> instead.", IsError:=False)>
Public Property PropertyNameTrue As String
[C#]
[TaskAttribute(Required=False, Name="propertytrue", ExpandProperties=True, ProcessXml=True)]
[Obsolete(Message="Use <if test="${propertyname}"> instead.", IsError=False)]
public string PropertyNameTrue {get; set;}

See Also

IfTask Class | NAnt.Core.Tasks Namespace