我試圖從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
。
我該怎麼辦?
感謝