【发布时间】:2016-10-13 01:15:40
【问题描述】:
我想在 C# 的控制台应用程序中解压缩 zip 文件。当我用谷歌搜索时,我发现的解决方案正在使用
System.IO.Compression.ZipFile
但是当我尝试使用它时,我收到错误“命名空间 'ZipFile' 不存在于命名空间 'System.IO.Compression'”
我错过了什么?
【问题讨论】:
-
您的目标是什么版本的 .Net?
-
.net 4.5 和来自链接帖子的解决方案有所帮助。谢谢!