Flatten Property

NAnt SDK Documentation - v0.92 |

# ZipTask.Flatten Property

Ignore directory structure of source directory, compress all files into a single directory. The default value 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

ZipTask Class | NAnt.Compression.Tasks Namespace