Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install DotNetZip?

As I am pretty new to Visual Studio, this question may sound kinda dumb: How do I install DotNetZip library? I am using Visual Studio Express 2012 for Windows Desktop.

like image 674
osvein Avatar asked Jan 17 '13 19:01

osvein


People also ask

How do I insert a reference in DotNetZip?

Right click on "References" folder/node in your Solution Explorer and choose "Add Reference". It will popup a dialog box which has the option for you to browse to the DLL file.

How to install NuGet Package in Visual Studio 2017?

Starting in Visual Studio 2017, NuGet and the NuGet Package Manager are automatically installed with any . NET-related workloads. Install it individually by selecting the Individual components > Code tools > NuGet package manager option in the Visual Studio installer.


2 Answers

There is no setup for DotNetZip.
Simply download the package from its site, decompress the library somewhere in your disk and set the reference from your project to the release folder appropriate for your project type. Remember to distribute the DLL with your application.

Another simple way would be to use nuget extension to install the library.

like image 145
Steve Avatar answered Sep 28 '22 15:09

Steve


There are many ways to add DotNetZip file in your project. I have mention only two ways below:

Way 1: 1. In Visual Studio go to- Tools->NuGet Package Manager -> Package Manager Console 2. Select your project from Default Project drop-down in Package Manager Console. 3. Type Install-Package DotNetZip and press enter. Automatically the package will be included in your project. Note: Sometime it does not work as expected.

Way 2: 1. In Solution Explorer go to your Project, then References folder. 2. Right click on References folder -> Manage NuGet Packages. 3. On the pop up window select Online from left menu. 4. Type DotNetZip on Seach text box. 5. From loaded list click Install button. Manage NugGet Package PopUp window

like image 43
Dhrubajyoti Borah Avatar answered Sep 28 '22 14:09

Dhrubajyoti Borah