v1.9.1.8 DotNetZip - Latest Stable

Rating:        Based on 40 ratings
Reviewed:  38 reviews
Downloads: 432520
Change Set: 81674
Released: Jul 11, 2011
Updated: Aug 7, 2011 by Cheeso
Dev status: Stable Help Icon

Recommended Download

Application DotNetZipLib-DevKit-v1.9.zip
application, 9446K, uploaded Aug 7, 2011 - 352750 downloads

Other Available Downloads

Source Code DotNetZip-src-v1.9.1.8.zip
source code, 6019K, uploaded Aug 7, 2011 - 24211 downloads
Application DotNetZipLib-Runtime-v1.9.zip
application, 574K, uploaded Aug 7, 2011 - 31252 downloads
Application DotNetZip-Runtime-v1.9.msi
application, 1236K, uploaded Aug 7, 2011 - 6619 downloads
Documentation DotNetZip-Documentation-v1.9.zip
documentation, 5397K, uploaded Aug 7, 2011 - 6680 downloads
Application DotNetZipUtils-v1.9.zip
application, 805K, uploaded Aug 7, 2011 - 6013 downloads
Application DotNetZipUtils-v1.9.msi
application, 1512K, uploaded Aug 7, 2011 - 2573 downloads
Application DotNetZipLib-Silverlight-v1.9.zip
application, 766K, uploaded Aug 7, 2011 - 2422 downloads

Release Notes

This is the latest stable release of DotNetZip.

Status: The binaries here are final. All of the bugs listed here are new fixes in these binaries, since v1.9.1.5.

This release has these downloads:
  1. DotNetZipLib-DevKit-v1.9.zip - This is probably what you want. This is a binary release, that includes of the signed DLLs for Zip and Zlib, for desktop and Compact Framework; the XML Documentation file for intellisense; the help files (CHM & Helpviewer); and the Licenses. Download this if you want to build .NET, COM, or PowerShell apps that use the Zip library.
  2. DotNetzip-src-v1.9.x.x.zip - the source code for the Zip & Zlib Libraries, the setup (msi) project, the test code, and a bunch of examples. Download this if you want to peruse or modify the source, or extend the example utilities.
  3. DotNetZipLib-Runtime-v1.9.zip - a binary release, that includes the signed DLLs, and the Licenses. Download this if you want to distribute .NET applications that use the Zip library, on the desktop or on the Compact Framework, or if you want to run a .NET application that depends on this library.
  4. DotNetZipLib-Silverlight-v1.9.zip - a binary release, that includes the the Silverlight version of the signed DLLs, and the Licenses.
  5. DotNetZipUtils-v1.9.zip - a set of exe tools (command-line and GUI) that rely on the library, to create and manage zip files. Download this if you want finished user-level tools to manipulate zip files. (A replacement for WinZip)
  6. DotNetZipUtils-v1.9.msi - an installer for Windows for the Zip utilities that utilize the library. This is the same stuff as the DotNetZipUtils-v1.9.zip, but in MSI form. It optionally sets up file associations, guides you through the install.
  7. DotNetZip-Runtime-v1.9.msi - an installer for the runtime.
  8. DotNetZip-Documentation-v1.9.zip - the Documentation. There's a CHM file as well as a HelpViewer 1.0 format. They contain the same information, just in different formats.

  • the quality/reliability of the code is much higher than for v1.9.1.5 - many bug fixes.
  • New bzip2.exe tool, and a gzip.exe tool.
  • Silverlight DLLs for ZIP, ZLIB or BZIP2 are included
  • more than 60 new tests
  • The version numbers for these preliminary DLLs is currently v1.9.1.8

The minimum requirement for the binaries is (as in prior releases of DotNetZip) .NET 2.0 or later. To build the source you need VS2010 and .NET 4.0.

Bugs fixed in this release:
Second save fails with Could not find file 'filename' error.
Saving to a Stream using Encryption corrupts the output file
FlattenFoldersOnExtract does not work correctly
Issue with static Zlib UncompressBuffer method
DotNetZip Library Support for updating Zip64 comments
"File already exists" error when adding new file to a zip file
Exception when creating split archive
ZipOutputStream corrupts data buffer when calling Write(byte[],int,int)
Trying to zip the root zips the current working directory instead
ZipInputStream throws NullReferenceException when using ZipEntry.Extract()
NullRereferenceException when extracting
Array out of bounds exception in finish()
doc for ZipEntry.IsText property should be clearer and more complete
Errors with Duplicate Entries
Select does not work with forward slashes
Possible bug in ZlibStream
FileNotFoundException when creating a Self Extracting Zip file
Malformed zip file should throw ZipException or BadReadException, not IOException
Ensure consistency on exceptions on ZipFile.Read() failure.
Compression roundtrip problem - Adler32 is incorrect
Self Extracting Archive and file removal
ExtractWithPassword & OverwriteSilently Deletes Files when Password is Incorrect
Using ZipInputStream with ZipEntry.OpenReader() gives a "Bad Signature" error
Setting Entry._Source to "None" after Save Causes Exceptions in Later Operations
FileSelector: AddSelectedFiles forced downcase
{Add/Update}SelectedFiles downcases folder names
ExtractSelectedEntries breaks for filenames that include parens
Sfx Copyright Option not working as expected
ZipFile fails to find entry by Name
ZipFile.Read does not preserve unicode filenames (with workaround)
FileNotFoundException when creating a Self Extracting Zip file
BOM in file contrary to the behavior described by the documentation
Writing zero bytes to a ZipOutputStream causes exception
Incorrect decoding of the comment in ZipFile.Read() method.
Fix the use of Exceptions in PDOS
Include the License for ZLIB in the binary distributions
Writing zero bytes to a ZipOutputStream causes exception
String Indexer on ZipFile fails to find the entry by name
Tools/WinFormApp does not correctly create split archives
CRC32CalculatorStream CanSeek property flaw
Encoding is not honored by ZipOutputStream.PutNextEntry method
ZipOutputStream comment NullReferenceException
Turn off Criterion Tracing
Don't use hardcoded filename length in ZipEntry.Write.cs - Unicode filenames, max path
Save to the input stream should not be allowed.
VersionNeededToExtract causes .NET System.IO.Zip to fail read
CloseDelegate can be called twice
Any error causes ZipException, not just invalid file formats
File handles persist after calling Dispose() when extracting spanned ZIP
Multi-Span Zips not closing after ZipFile disposal
File not found when compressing zipped file into spanned archive
Can't delete .z01 file after extraction of multi-segment archive
Splitting Large (~1gb+) files leads to an exception
extracting zip with several segments, cannot delete .zip file afterwards
Creating a split archive does not close intermediate streams
Allow a way to specify upper limit of # threads used for compressing
Bug when compressing .rar or .zip file
ZipErrorAction.Skip is not honored when using nonseekable output stream, and File.Open fails
Poor performance when reading large ZIP files
Setting EncryptionAlgorithm.None after setting password results in an encrypted zip
Poor memory performance when adding files
The MAC does not match
Save a Spanned Zip after reading an existing ZipFile

New features in the binary for this release (as compared to v1.9.1.5; all these features are minor):
Silverlight support
Add BZip2 compression capability to the library
Add a CheckZipPassword static method to ZipFile class
expose CountingStream as a public type
creating an SFX should allow an option to set the title of the extractor window
Cannot cancel within AddProgress event
Provide a way to Force UTF-8 (or whatever the alternate encoding is) in filenames
DotNetZip should be kinder when throwing PathTooLongException

new source features:
Upgrade the source to VS2010
Tests: automated testing of DotNetZip within ASPNET
Add InfoZip compatibility tests to the test source
Convert setup to Wix projects

Reviews for this release

There is a pretty major bug in the code. I am working to figure it out. Another chap logged it before me: Deadlock in ParallelDeflateOutputStream.EmitPendingBuffers The zip hangs. End-of-day I will have to rip this code out and start over with a new library. I need to call my last job and give them a head's up b/c I used this library at my last job. They will likely have to rip the code out too.
by jnarkiewicz on May 30, 2012 at 11:31 PM
This is ridiculous!! I am forever trying to work out bugs and keep up with these release's but the build number is not changing yet there are breaking changes being made to the release here! these should be a new release. new version. new builds! Please please start changing the build numbers when updating an actual release! 1.9.##.##
by SpiderMaster on Aug 7, 2011 at 7:04 AM
I have been using this library for several months. I tried to zip both large MS Access files (*.mdb), approx. 1.5 GB and medium size (500 MB). It doesn't always work. It zips the file but sometimes when trying to unzip the archive using Windows Explorer (right-click on the file + Extract All), it returns an error... Not reliable.
by mr2001 on Jan 2, 2014 at 9:26 PM
compression fails on some files
by norm2005 on Jun 26, 2012 at 10:38 PM
Does not work on Windows Server 2008 R2 Enterprise. Could not load file or assembly 'Ionic.Zip, Version=, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The system cannot find the file specified.
by ganley on Oct 20, 2015 at 9:03 AM
The version that is embedded in the MSBuild Community Tasks has a nasty bug where certain files are corrupted as they are compressed. You will not know there is a problem until you go to use the zip. This bug is around four years old and still hasn't been fixed - pretty shoddy IMHO.
by slugster on Jun 9, 2015 at 4:42 AM
Nice job! Thank you
by mglauco on Oct 24, 2014 at 6:51 PM
This has saved me a lot of time :)
by boschatten on Oct 16, 2014 at 8:40 PM
I am using DotNetZipl from last one year to unzip file and process data provided by the vendor. Thanks to all project contributors.
by devAmit on Oct 9, 2014 at 8:36 AM
perfect for .net 4.0
by johnnyxp64 on Apr 8, 2014 at 12:11 AM
The lib contains critical issues http://dotnetzip.codeplex.com/workitem/14087 which is an absolute showstopper for using it in production to create zip files. Unfortunately, the project seems no longer active. Personally, I'd recommend resorting to SharpZipLib for anything that can't be done using built-in support in .NET 4.5.
by divo on Jan 9, 2014 at 12:01 PM
The examples are excellent.
by dmihailescu on Dec 20, 2013 at 5:11 AM
This is by far the most comprehensive free .Net zip library I've worked with. Great API and very easy to use, simply amazing. Keep up the good work
by prankster on Aug 23, 2013 at 10:12 AM
It unpacks files that some other libraries can't unpack.
by vorrtex on Aug 1, 2013 at 4:45 PM
This library is incredibly easy to use! I have been learning C# while working on a project at work. I struggled through generating Excel reports and finding the right library and commands to read from a database, but this open-source non-Microsoft library has made preparing the reports for delivery the easiest part.
by SomaPlus on Jun 27, 2013 at 4:14 PM
This is such a great library. I was able to get rid of Shell32 Interop code. Thanks!
by jonathanray on Apr 11, 2013 at 10:45 PM
Great. Thanks for that work and the VB.Net samples!!
by goldengelch on Mar 22, 2013 at 9:22 AM
That was too easy to compress files using this library!
by wilmerbz on Mar 20, 2013 at 2:31 AM
Easy to use and works as expected.
by steven212121 on Feb 26, 2013 at 9:30 PM
Really a great tool
by egamesu on Oct 24, 2012 at 12:55 AM
very easy to implement with less code than other library
by gsudhesh on Sep 28, 2012 at 7:03 AM
This is so much easier to use then that 'other' zip library. Thanks!
by JDPeckham on Sep 23, 2012 at 1:12 AM
Very nice release I created a example using dotnetzip http://csharpdotnetfreak.blogspot.com/2012/06/create-zip-files-in-aspnet-c-vb.html http://csharpdotnetfreak.blogspot.com/2012/07/download-multiple-files-as-zip-aspnet.html
by jainamit on Jul 10, 2012 at 10:35 AM
Worth every penny you will donate! Extremely easy to use. Downloaded, quickly looked up chm (help file), integrated to project and zipping away - in 10 minutes! Bravo!
by EdSF on Apr 19, 2012 at 6:08 AM
Really simple, straightforward API. Recommended.
by markrendle on Apr 18, 2012 at 10:04 AM
Really a great tool , work out of box , no plugin needed or expertise .
by paritoshmmmec on Mar 2, 2012 at 5:38 AM
Great job !! you saved me a lot of time and hardwork !
by Hichem86 on Feb 1, 2012 at 9:43 AM
Absolutely amazing - the best thing is the full documentation. I had tried 7-Zip sdk and althougth I'm sure it's just as excellent there is scant documentation (at least that I could find). Keep up the good work!
by SJBUSHELL on Jan 26, 2012 at 4:56 PM
Awesome software. there are some issues when you add files and folder together but it can be solved with some methods. I use inbuilt .net libraries to identify files and folders, so separately files and folders can be added. Thanks for this. I'm wondering you can make something like this for Java. I saw this doesn't use my two cores properly. probably this is not dual core optimized.
by Gryphes on Jan 14, 2012 at 4:53 PM
This is an absolutely incredible library. I used it in an off-line caching solution and it made the work super easy. Thanks for the hard work!
by numberattheend1 on Dec 15, 2011 at 4:28 PM
Very simple to use zip utility for .net.
by thedavegray on Nov 24, 2011 at 1:45 PM
I've used this library in a few apps now and it's one of the most useful and simple tools, keep up the good work
by steveoneill on Nov 1, 2011 at 12:23 PM
I am experiencing a serious problem. I did not succeed to create a self extract Zip in Asp.net. I get the following error: Errors compiling the extraction logic! G:\TempFolder\Ionic.Zip-2011Oct12-173217-b124a0be-de10-4ad0-9422-39b014fd7833.cs It fails during the compilation of the EXE
by exmarouane2 on Oct 12, 2011 at 6:34 PM
Brilliant library. Simple to use and works like a charm!
by JonCage on Sep 20, 2011 at 12:55 AM
The best thing about this library is that the author is very active and responding to issues quickly.
by crazytrain411 on Aug 23, 2011 at 2:38 PM
Very easy to use, useful and fast support.
by DexMiK on Aug 6, 2011 at 4:07 AM
This program is awesome! I luv it!!! :)
by Sekktor on Aug 5, 2011 at 10:51 AM
This download has really pissed me off; be warned, if you download this then you will never be able to delete it. Takeown or anything else doesn't work, you can't even access the folder zip-v1.9, it won't give you access, and if you try looking at the security you won't get access there either. You can't even move it once it's extracted, specifically folder zip-v1.9. All you'll get (even if you're full admin) is Access is denied or You do not have permission to view or edit this object's permission settings. This is absolutely ridiculous and you should warn people who are going to download your crap software that once they extract it they can never remove it, which is really offensive. Quit trying to take control of people's computers, if we don't like this crap (which I didn't, doesn't work as advertised) then we should be allowed to remove it easily, or at the very least with great difficulty, but making it impossible is just messed up.
by deverett on Feb 3, 2014 at 11:31 PM