"Type "ZipFile" is not defined" - ???

Jun 11, 2010 at 2:14 AM

I tried using the example on the home page to extract a zip file and I get this error.

Coordinator
Jun 14, 2010 at 11:22 PM

you probably need to add a reference to the Ionic.Zip.dll assembly.

 

Jun 15, 2010 at 4:49 PM
i had add the Ionic.Zip assembly but when i build my projet it says : Type "ZipFile" is not defined...
Coordinator
Jun 15, 2010 at 6:13 PM
then you may need a using clause (C#) or an import statement (VB).
Jun 15, 2010 at 8:30 PM

It works now =). Have a nice day thank you.

Jul 12, 2012 at 12:27 PM

i am a leak whit vb, how can i do this?

May 11, 2015 at 5:11 PM
I am using ASP.NET and I was getting ZipFile is undefined.
I just had to copy the BIN folder that contains the ionic.Zip.dll to wwwroot and the it worked.
I believe this was the case because I did not setup a virtual directory/site for the folder (wwwroot/mysite) I was using for my site.

Hope that helps