{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hello,\n \n \n \nWhen I create a zip file.\n \nThe file inside the zip has the whole path where it's been created.\n \nWhen I unzip mannually, it creates the whole directory tree inside the extraction folder .\n \nIs there any way file can reside in the root of the Zip file?\n \n \n \nThanks,\n \nGauri",
    "LastUpdatedDate": "2013-02-21T18:42:59.303-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-11-16T10:00:57.32-08:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Is there any way file can reside in the root of the Zip file?",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 2,
    "Id": 14441
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I'm kinda late to the party here, but rather than doing a Zip.Add(file), do a Zip.AddFile(file,\"\").  This will over-ride the directory in the .Zip file.\r\n\r\nAlso, try setting the following property:\r\n\r\nZip.FlattenFoldersOnExtract = True\r\n\r\nIt might not be exactly what you want, but it will be pretty close.",
      "PostedDate": "2012-04-04T22:46:45.743-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-04-05T06:52:44.593-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:42:59.303-08:00",
      "Id": -2147483648
    }
  ]
}