安装 SharpZipLib 以提取 tar gz 文件

Install SharpZipLib to extract targz file

我下载了 Sharpziplib,但我无法为 C# 安装它。 我没有找到 DLL。我迷失了这个库和 visualStudio,sharpziplib 只包含批处理文件和源代码。

谁能帮我安装一下?

只需解压缩 zip 文件并在您的 VisualStudio 中打开 SharpZipAll.sln。 构建 ICSharpCode.SharpZLib 项目,您会在 Bin 文件夹中找到 Dll。 现在您可以将此Dll作为参考添加到您的项目中并使用它。

在这里您可以找到示例:

https://github.com/icsharpcode/SharpZipLib/wiki/Zip-Samples