mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
AddAllFromDirectoryEntry not defined? #42
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 @fschwiet on GitHub (Jun 17, 2015).
I was using the ZipArchive with Writing example here: https://github.com/adamhathcock/sharpcompress/wiki/API-Examples. I have the nuget package SharpCompress.0.11.0.
The code fails to compile, saying AddAllFromDirectoryEntry is not defined. Is this an extension method in some other namespace/DLL? I do not know where to find it.
@adamhathcock commented on GitHub (Jun 18, 2015):
What is your platform? This only works on the full .NET framework:
https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress/Archive/IWritableArchive.Extensions.cs
@fschwiet commented on GitHub (Jun 20, 2015):
I started the project in Xamarin Studio so initially it ran against
mono. When I hit the issue I was building the same solution from visual
studio. Its currently set to build x86.
On Thu, Jun 18, 2015 at 3:49 AM, Adam Hathcock notifications@github.com
wrote:
@damieng commented on GitHub (May 19, 2017):
The SDK says
AddAllFromDirectoryEntrybut the actual API isAddAllFromDirectoryand the file is now at https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/IWriterExtensions.cs@damieng commented on GitHub (May 19, 2017):
Updated the Wiki, can now close this issue.