{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "I need rename the files I drop into the zip AND I don’t want to have the directory structure in the zip. It seems the two are mutually exclusive. How can I create a zip with no folder structure AND rename the files? I tried combining the two and cannot make it work.\n\nThis removes the folder structure… but keeps the file name.\n\n                    using (ZipFile zip = new ZipFile())\n                    {\n                        zip.AddFiles(FilesToZip, \"\");\n                        zip.Save(NameOfZip);\n                    }\n\nWhile this renames the files… but keeps the directory structure.\n\n                foreach (ZipEntry e in zip)\n                {\n                    e.FileName = e.FileName.Replace(BatchList.Batchs[i].ProcessID, \"\");\n                    zip.Save(NameOfZipFileTocreate);\n                }",
    "LastUpdatedDate": "2014-01-15T07:04:10.5-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2014-01-15T07:04:10.5-08:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "rename files and remove folder structure",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 1,
    "Id": 16646
  },
  "FileAttachments": [],
  "Comments": []
}