I've started using the dotnetzip from codeplex ... I Downloaded it and referencing Ionic.ZIP.dll in my .net 4.5 application, This is my main code...
using (ZipFile archive = new ZipFile(@"C:\Folder\ZipFileName.zip"))
{
archive.Password = "passwprd";
archive.Encryption = EncryptionAlgorithm.PkzipWeak;
archive.StatusMessageTextWriter = Console.Out;
archive.ExtractAll(@"C:\destinationFolder", ExtractExistingFileAction.Throw);
}
this code works fine in a console c# application, but i'm receiving the next error when I want to run my SSIS script....
en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) en System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) en Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()
Any Idea ?