Perform the following steps:
- Create a console application and call it FilesExample:
- Right-click on the References node and select Add Reference... from the context menu:
- In the Reference Manager, search for the word compression. Add a reference to System.IO.Compression and System.IO.Compression.FileSystem to your project and click on the OK button.
At the time of writing, there was a System.IO.Compression version 184.108.40.206 and System.IO.Compression version 220.127.116.11 available from the Reference Manager. The example I created ...
Get C# 7 and .NET Core Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.