diff --git a/LibZipSharp.props b/LibZipSharp.props index 7f740c6a..8abf71e0 100644 --- a/LibZipSharp.props +++ b/LibZipSharp.props @@ -1,5 +1,5 @@ - <_LibZipSharpNugetVersion>1.0.17 + <_LibZipSharpNugetVersion>1.0.18 diff --git a/Native.cs b/Native.cs index 54ffd482..ada88853 100644 --- a/Native.cs +++ b/Native.cs @@ -415,9 +415,7 @@ static Native () { if (Environment.OSVersion.Platform == PlatformID.Win32NT) { string executingDirectory = System.IO.Path.GetDirectoryName (typeof(Native).Assembly.Location); - if (Environment.Is64BitProcess) { - SetDllDirectory (System.IO.Path.Combine (executingDirectory, "lib64")); - } + SetDllDirectory (Environment.Is64BitProcess ? System.IO.Path.Combine (executingDirectory, "lib64") : executingDirectory); } } }