I am trying to use IconicZip to perform some unzipping tasks in my Visual C# 4.0 application. But when i try to test my application, i receive the error: Could not load file or assembly 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The system cannot find the file specified.
My library for IconicZip is located in: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client
with all the other default libraries.
I've added the reference to it using the add reference wizard and it shows no errors in the code:
using (ZipFile zip1 = ZipFile.Read(uiFindRar.FileName))
{
foreach (ZipEntry zip in zip1)
{
zip.Extract(unpackDirectory, ExtractExistingFileAction.OverwriteSilently);
}
}
The only error i experience is during runtime.