Getting an error while extract zip file

Jun 23, 2011 at 1:19 PM
Edited Jun 23, 2011 at 1:23 PM


 I am getting an error while extract a simple zip file without any password.

I am using Ionic.Zip DLL in my below C# windows application.

                string zipToUnpack = @"D:\ZipTest\";
                string unpackDirectory = @"D:\ZipTest\";
                using (ZipFile zip1 = ZipFile.Read(zipToUnpack))
                    foreach (ZipEntry Ze in zip1)
                        Ze.Extract(unpackDirectory, ExtractExistingFileAction.OverwriteSilently);
            catch (System.Exception ex1)
                System.Console.Error.WriteLine("exception: " + ex1);

Error: Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Can someone please answer my question?



Jul 5, 2011 at 1:54 AM

Your error is a basic one related to .NET, not to DotNetZip.

Do a search on the internet for that error and you will find some hints.

Good luck