2
Vote

The execution has failed due to the bug in the SevenZipSharp

description

Hello,
 
I have this error,
The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
code
if (System.IO.File.Exists(Application.StartupPath + "\7z.dll"))
        {
            SevenZipCompressor.SetLibraryPath(Application.StartupPath + "\\7z.dll");
            SevenZip.SevenZipCompressor seven = new SevenZip.SevenZipCompressor("c:\\temp");
            String[] files = { "c:\\temp20120104.txt" };
 
           // seven.Compressing += new EventHandler<SevenZip.ProgressEventArgs>(seven_Compressing);
           // seven.CompressionFinished += new EventHandler<EventArgs>(seven_CompressionFinished);
            seven.CompressionLevel = SevenZip.CompressionLevel.Fast;
            seven.CompressionMethod = SevenZip.CompressionMethod.Lzma2;
            seven.CompressionMode = SevenZip.CompressionMode.Create;
            seven.CompressFiles("c:\\temp20120104.zip", files);
        }

comments