Summary
Gets or sets a value indicating whether to copy content items to a single folder in the build output
or to preserve the folder structure in the package. This flag only works when
copyToOutput
flag is set to true. Defaults to false
.
- Namespace
- Cake
.Common .Tools .NuGet .Pack - Containing Type
- NuSpecContentFile
Syntax
public bool Flatten { get; set; }
Value
Type | Description |
---|---|
bool |
true if content items should be copied to a single folder; otherwise, false .
|