In this article I will explain a tutorial with an example, how to install Nuget package in Visual Studio 2012, 2013, 2015.
This article will illustrate how to install Nuget package in Visual Studio 2012, 2013, 2015 by installing System.Web.Optimization DLL reference in Visual Studio.
 
 
Installing the Nuget package in the project
For illustration purposes, here I am adding System.Web.Optimization DLL package in the project.
Following are the steps for installing package from Nuget.
1. First step is to start the Package Manager Console window by clicking View menu then Other Windows and finally Package Manager Console.
Install Nuget package in Visual Studio 2012, 2013, 2015
 
2. In the Package Manager Console window, type the following command and press Enter key and the package will start installing.
Install-Package Microsoft.AspNet.Web.Optimization
 
Install Nuget package in Visual Studio 2012, 2013, 2015
 
Once the package is installed, a success message will be displayed.
Install Nuget package in Visual Studio 2012, 2013, 2015