Junior developer created some tools which packed to zip-archive some rendered files. He used for this DotNetZip (Ionic.Zip) library. Everything worked fine until today. But today, when users users tried to open zip-file, they've got the error "CRC has failed, the file is corrupt".

The solution is to add property ParallelDeflateThreshold and set it equal to -1.

  using (ZipFile zip = new ZipFile()) 
  { 
      zip.ParallelDeflateThreshold = -1; 
      zip.AddFile(xlsNewFileName, @"\"); 
      zip.Save(zip_filename); 
  }