AddAllFromDirectoryEntry not defined? #42

Closed
opened 2026-01-29 22:03:53 +00:00 by claunia · 4 comments
Owner

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.

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.
Author
Owner

@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

@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
Author
Owner

@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:

What is your platform? This only works on the full .NET framework:

https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress/Archive/IWritableArchive.Extensions.cs


Reply to this email directly or view it on GitHub
https://github.com/adamhathcock/sharpcompress/issues/65#issuecomment-113079451
.

@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: > What is your platform? This only works on the full .NET framework: > > https://github.com/adamhathcock/sharpcompress/blob/master/SharpCompress/Archive/IWritableArchive.Extensions.cs > > — > Reply to this email directly or view it on GitHub > https://github.com/adamhathcock/sharpcompress/issues/65#issuecomment-113079451 > .
Author
Owner

@damieng commented on GitHub (May 19, 2017):

The SDK says AddAllFromDirectoryEntry but the actual API is AddAllFromDirectory and the file is now at https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/IWriterExtensions.cs

@damieng commented on GitHub (May 19, 2017): The SDK says `AddAllFromDirectoryEntry` but the actual API is `AddAllFromDirectory` and the file is now at https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/IWriterExtensions.cs
Author
Owner

@damieng commented on GitHub (May 19, 2017):

Updated the Wiki, can now close this issue.

@damieng commented on GitHub (May 19, 2017): Updated the Wiki, can now close this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#42