NAnt SDK Documentation - v0.92

CopyTask.Flatten Property

Ignore directory structure of source directory, copy all files into a single directory, specified by the ToDirectory attribute. The default is false.

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

See Also

CopyTask Class | NAnt.Core.Tasks Namespace