Attached below is an OLE file (specifically *.doc file). Zipping it alone produces a proper result. However if it is put in a folder with other files/folders and zip the whole folder then the output zip file is corrupted. Compression tools report a CRC error of that OLE file when extracting that output file
using(var zip = new ZipFile())
{
zip.AddDirectory(inputFolder);
zip.Save(outputFile);
}
I recommend checking https://github.com/haf/DotNetZip.Semverd as it appears this project is simply a snapshot, whilst the other project has full history, and at least a minimal amount of maintenance.
Attached below is an OLE file (specifically *.doc file). Zipping it alone produces a proper result. However if it is put in a folder with other files/folders and zip the whole folder then the output zip file is corrupted. Compression tools report a CRC error of that OLE file when extracting that output file
FailedToZip.zip