NAnt SDK Documentation - v0.92

UpdateTask.OverwriteLocal Property

If true the local copy of the file will be overwritten with the copy from the remote repository. The default is false.

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

See Also

UpdateTask Class | NAnt.SourceControl.Tasks Namespace