我正在尝试为 Visual Studio 中的嵌入式应用程序编写一个压缩文件夹/多个文件的例程。为此,我想到了使用 zlib 和 tar 的组合。我可以在 visual studio 中成功运行 zlib,但如果是 tar源代码引用了一些 linux 头文件并导致错误。我是这方面的新手。谁能告诉我如何创建例程。我在浏览时发现了一个 UnxUtils(sourceforge,Win32 的 GNU 实用程序 http://unxutils.sourceforge.net。),那有用吗?任何帮助表示赞赏。
最佳答案
您还可以查看 DotNetZip图书馆,因为它可能适合您的情况。
引用:
Is this thing supported on Mono/Linux? It's not supported at all. But, it apparently works on Mono/Ubuntu. I don't test it that way. If you'd like to volunteer, let me know.
关于windows - Visual Studio压缩文件夹的例程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6678230/