Dynamic Property

NAnt SDK Documentation - v0.92 |

# PropertyTask.Dynamic Property

Specifies whether references to other properties should not be expanded when the value of the property is set, but expanded when the property is actually used. By default, properties will be expanded when set.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="dynamic", ExpandProperties:=True, ProcessXml:=True), _ BooleanValidator>
Public Property Dynamic As Boolean
[C#]
[TaskAttribute(Required=False, Name="dynamic", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool Dynamic {get; set;}

#### See Also

PropertyTask Class | NAnt.Core.Tasks Namespace