[
  {
    "Id": "455721",
    "ThreadId": "216105",
    "Html": "I am using v1.9 of DotNetZip and really like its simplicty; however, I am having difficulty added empty folders to my zip file.  My code is quite simple:\r\n            using (ZipFile zip = new ZipFile())\r\n            {\r\n                zip.UseUnicodeAsNecessary = true;\r\n                zip.CompressionLevel = Ionic.Zlib.CompressionLevel.Default;\r\n                zip.ZipErrorAction = ZipErrorAction.Skip;\r\n                zip.AddDirectory(root);\r\n                zip.Save(outputPath);\r\n            }\r\nI'd like all files and folders (including empty folders) to be added to my zip file, but empty folders are not included.  Is there a way to include empty folders?\r\n\r\nSteve",
    "PostedDate": "2010-06-15T09:59:15.707-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "456331",
    "ThreadId": "216105",
    "Html": "I did some more digging.  v1.9 does indeed capture empty folders.  This is seen if you do one of two things: a) Use Windows Explorer to view the contents of the zip file, or b) uncompress the contents to a folder.  It appears that WinZip simply doesn't display empty folders within its view box.",
    "PostedDate": "2010-06-16T12:33:55.967-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "456350",
    "ThreadId": "216105",
    "Html": "<p>ah, ok thanks for the followup.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-06-16T13:43:49.097-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]