Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • I have added these references. However I am getting the error the type or namespace name 'FileSystem' does not exist in the namespace System.IO.Compression. Any ideas? Commented Apr 24, 2013 at 10:32
  • When I select Project>{Project Name} Properties on the Application tab - the 'Target framework' is .NET Framework 4.5. I am using Visual Studio Pro 2012. Commented Apr 24, 2013 at 10:43
  • Try to set Full trust for the application. Commented Apr 24, 2013 at 10:47
  • No joy with 'This is a full trust application'. - I still get Error 1 The type or namespace name 'dll' does not exist in the namespace 'System.IO.Compression' (are you missing an assembly reference?) Commented Apr 24, 2013 at 10:51
  • You can try use DotNetZip instead. It has the same function as the ZipFile class. Commented Apr 24, 2013 at 10:59