Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的项目中使用 dotnetZip,当我压缩文件夹时,我希望某些文件(如 .jpg 或文件夹名或文件名)不压缩。
这个怎么样
zip.AddSelectedFiles("name != folder1\*.jpg", "folder1", true); zip.Save(_zipFileName);