If I define VolumeSize, then invoke CompressFiles method to archived one or more files, there isn't any archived files created and without any exception.
My code is like:
Dim z7 As New SevenZip.SevenZipCompressor
z7.VolumeSize = 1000000
z7.CompressFiles(zipFile, fi.FullName)
I checked the source code(Aug 26 version), in SevenZipCompressor.cs, line 1097, I think it should be added "_volumeSize == 0" to this if statement.
Hope it can help you to fix it.
Thanks.
Comments: ** Comment from web user: vbwebprofi **
My code is like:
Dim z7 As New SevenZip.SevenZipCompressor
z7.VolumeSize = 1000000
z7.CompressFiles(zipFile, fi.FullName)
I checked the source code(Aug 26 version), in SevenZipCompressor.cs, line 1097, I think it should be added "_volumeSize == 0" to this if statement.
Hope it can help you to fix it.
Thanks.
Comments: ** Comment from web user: vbwebprofi **
I have added a not fully tested but pattern implemented patch, see #14085 [1] . Download of SevenZipCompressor.cs (zipped) is available under id #637889.
[1] Patch list
http://sevenzipsharp.codeplex.com/SourceControl/list/patches
[2] Patch download #637889
http://www.codeplex.com/Download?ProjectName=sevenzipsharp&DownloadId=637889