Multiple ways to install Nuget packages in Visual Studio
In this tutorial we will learn how to install nuget packages in asp .net.
What is nuget?
NuGet is a free and open-source package manager for the Microsoft development platform which automates the process of installing, downloading and removing packages.
Nuget is central package repositry used to upload and consume packages online.Nuget is used to easily import third party libraries into your project solution.
In this tutorial we will take an example of Jquery package to download all the necessary files required to use Jquery in asp .net
- Using Nuget GUI.
In this example we will use Nuget GUI to add packages into our asp .net project.
Go to: Tools=>Nuget Package Manager=>Manage Nuget Packages for solution.
Search for nuget package.
Press OK.
All required files are downloaded.
- Using Nuget Package Manager Console.
In this example we will used Nuget package manager console to install our package.
Go to www.Nuget.org and search for Jquery(Or any other) package
After you select your desired package you will see command like this:
(Copy command)
Go to: Tools=>Nuget Package Manager=>Package Manager Console.
Paste the command in package manager console and hit enter.
All required files are downloaded.