我试图从PowerShell中使用DotNetZip库。 我下载了DotNetZip并提取了Tools文件夹(包含Ionic.Zip.dll
)至C:\Files
。在PowerShell中使用DotNetZip
所有我需要的是提取分裂.zip文件,但是,当我尝试使用[System.Reflection.Assembly]::LoadFrom("C:\Files\Ionic.Zip.dll")
我得到一个错误:
Could not load file or assembly file:///C:\Files\Ionic.Zip.dll' or one of its dependencies. Operation is not supported
。
我该怎么办?
感谢