NAnt SDK Documentation - v0.92

MoveTask.Flatten Property

Ignore directory structure of source directory, move 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)>
Overrides Public Property Flatten As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="flatten", ExpandProperties=True, ProcessXml=True)]
public override bool Flatten {get; set;}

See Also

MoveTask Class | NAnt.Core.Tasks Namespace