mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
AddAllFromDirectory not found #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CheetahChrome on GitHub (May 26, 2017).
Installed the latest version 0.16.1 via Nuget. Took the first example, then pulled in
using SharpCompress.Archives.Zipand it fails statingAddAllFromDirectorydoes not exist. AlsoSaveToexists but doesn't take a string but a stream. First example fails....Is there an extension namespace to bring in?
Using .Net 3.5 which may be applicable.
--- Second example
Took second example:
and
Openneeds the stream, which is fine and fixable, but then the third parameter ofWriterOptionsis not an enum; and it is unclear how it needs to be used.@adamhathcock commented on GitHub (May 27, 2017):
The code is here https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Archives/IWritableArchiveExtensions.cs
You need
SharpCompress.Archives