{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in changeset 79579.  The first binary with this fix will be v1.9.1.6",
    "ClosedDate": "2011-06-21T16:37:04.2-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "When creating self extracting zips with multiple threads this error occurs:\n \nMessage: Could not find file 'E:\\TEMP\\Ionic.Zip-2011May06-141232-1.exe'.\nSource: mscorlib\nTargetSite: \n \nErrorType: System.IO.FileNotFoundException\n \nIt looks like the there are no locks around the critical section where the file name is being generated or its existence is begin checked. Another solution would be to use a GUID as the file name.\n \ninternal static string GenerateTempPathname(string extension)\n        {\n            string candidate = null;\n            String AppName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;\n            string parentDir = System.IO.Path.GetTempPath();\n            int index = 0;\n            do\n            {\n                index++;\n                string Name = String.Format(\"{0}-{1}-{2}.{3}\",\n                        AppName, System.DateTime.Now.ToString(\"yyyyMMMdd-HHmmss\"), index, extension);\n                candidate = System.IO.Path.Combine(parentDir, Name);\n            } while (System.IO.File.Exists(candidate) || System.IO.Directory.Exists(candidate));\n \n            // this file/path does not exist.  It can now be created, as file or directory.\n            return candidate;\n        }",
    "LastUpdatedDate": "2013-05-16T05:31:36.88-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-05-06T12:54:00.29-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "FileNotFoundException when creating a Self Extracting Zip file",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 13475
  },
  "FileAttachments": [],
  "Comments": []
}