[
  {
    "Id": "698030",
    "ThreadId": "279422",
    "Html": "\r\n<p>Hi:</p>\r\n<p>I just downloaded the &quot;Zip&quot; bits for Silverlight (v1.9).</p>\r\n<p>In my Silverlight applicatin I am referencing, &quot;Iconic.Zip.dll&quot;. In the code I am doing this</p>\r\n<p>ZipFile zip = new ZipFile();</p>\r\n<p>At this line I get a run-tim exception: &quot;The type initializer for 'Ionic.Zip.ZipFile' threw an exception.&quot;.</p>\r\n<p>What am I doing wrong?</p>\r\n<p>&nbsp;</p>\r\n<p>thanks</p>\r\n<p>&nbsp;</p>\r\n<p>--tolga</p>\r\n",
    "PostedDate": "2011-11-14T11:50:19.16-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "845975",
    "ThreadId": "279422",
    "Html": "\r\n<p>Good day.</p>\r\n<p>I am getting the same problem in my project.</p>\r\n<p>Is there anyone that knows how to get rid of this error.</p>\r\n<p>Thanks in advance</p>\r\n<p>&nbsp;</p>\r\n<div style=\"color:black; background-color:white\">\r\n<pre><span style=\"color:blue\">using</span> (ZipFile zipFile = <span style=\"color:blue\">new</span> ZipFile())\r\n            {\r\n                <span style=\"color:blue\">foreach</span> (<span style=\"color:blue\">string</span> item <span style=\"color:blue\">in</span> ZipPackage_List)\r\n                {\r\n                    zipFile.AddFile(item);\r\n                }\r\n                \r\n                zipFile.Save(<span style=\"color:#a31515\">&quot;Raster_&quot;</span> &#43; DateTime.Now &#43; <span style=\"color:#a31515\">&quot;.zip&quot;</span>);\r\n            }\r\n</pre>\r\n</div>\r\n",
    "PostedDate": "2012-06-07T04:37:55.437-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]