[
  {
    "Id": "687869",
    "ThreadId": "276823",
    "Html": "\r\n<p>Hello,</p>\r\n<p>I;m using ionic.zip ! and I get this error : Acess to path : C:\\BlABLA\\myfolder\\File.exe.PendingOverwrite' is denied ! how can I solve this ( it shows to win 7 )!</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-10-22T09:44:28.097-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "694814",
    "ThreadId": "276823",
    "Html": "<p>I DON'T KNOW!</p>\r\n<p>HOW TO SOLVE IT!</p>\r\n<p>MAYBE YOU COULD!</p>\r\n<p>GIVE SOME MORE INFORMATION!</p>\r\n<p>LIKE A FULL EXCEPTION STACKTRACE!</p>",
    "PostedDate": "2011-11-07T09:27:53.973-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "783832",
    "ThreadId": "276823",
    "Html": "<p>I faced the same problem and fixed it by the following way:</p>\n<p>&nbsp;</p>\n<div style=\"color: black; background-color: white;\">\n<pre><span style=\"color: blue;\">foreach</span> (ZipEntry entry <span style=\"color: blue;\">in</span> zipFile.Entries)\n{\n  <span style=\"color: blue;\">try</span>\n  {\n    entry.Extract(path, ExtractExistingFileAction.OverwriteSilently);\n  }\n  <span style=\"color: blue;\">catch</span> (IOException ex)\n  {\n    <span style=\"color: blue;\">bool</span> b = <span style=\"color: blue;\">false</span>;\n    <span style=\"color: blue;\">foreach</span> (<span style=\"color: blue;\">var</span> postFix <span style=\"color: blue;\">in</span> <span style=\"color: blue;\">new</span>[] { <span style=\"color: #a31515;\">\".tmp\"</span>, <span style=\"color: #a31515;\">\".PendingOverwrite\"</span> })\n    {\n      <span style=\"color: blue;\">var</span> errorPath = Path.Combine(path, entry.FileName) + postFix;\n      <span style=\"color: blue;\">if</span> (File.Exists(errorPath))\n      {\n        File.Delete(errorPath);\n        b = <span style=\"color: blue;\">true</span>;\n      }\n    }\n    <span style=\"color: blue;\">if</span>(!b)\n    {\n      <span style=\"color: blue;\">throw</span> ex;\n    }<pre>   entry.Extract(path, ExtractExistingFileAction.OverwriteSilently);</pre>\n} }</pre>\n</div>",
    "PostedDate": "2012-02-20T05:29:31.303-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]