Reputation: 267
I'm trying to unzip files without providing an extra *.dll. For that reason, i'm using the ZipArchive class from System.IO.Compression.
I added System.IO.Compression & System.IO.Compression.FileSystem as a reference and on my own computer, everything works fine. However, friends can't use it, because it crashes on the line
ZipArchive archive = ZipFile.Open(local, ZipArchiveMode.Read);
Do I need to provide an extra *.dll for it to work? Whats the problem?
Upvotes: 0
Views: 327
Reputation: 61912
The ZipArchive
class you use is new in .NET version 4.5. From your comment to the question it seems that your friends do not have .NET 4.5.
The DLL in which this class resides, is System.IO.Compression.dll
as can be seen in the documentation I linked, but you will not have to care about that if your friends install .NET 4.5 on their machines.
Upvotes: 1