CopyTask.

Overwrite Property

Summary

Overwrite existing files even if the destination files are newer. The default is false.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
CopyTask

Syntax

[TaskAttribute("overwrite")]
[BooleanValidator()]
public bool Overwrite { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool