Nuget pack : how to include empty directories

Topics: General
Oct 15, 2014 at 10:56 AM

nuget.exe pack command has -ExcludeEmptyDirectories option, then I guessed that empty directories were included if the option was not setted.
But it's not the case.

nuget pack myNuspecFile.nuspec
nuget pack myNuspecFile.nuspec -ExcludeEmptyDirectories

have the same result, empty directories are always excluded.

Is that normal ?