NAnt SDK Documentation - v0.92

PropertyTask.Overwrite Property

Specifies whether the value of a property should be overwritten if the property already exists (unless the property is read-only). The default is true.

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

See Also

PropertyTask Class | NAnt.Core.Tasks Namespace