How to work with NuGet?

NuGet is a visual studio extension and you can get it from here. It helps you

  1. Add library and tools to visual studio .Net Framework project
  2. Remove library and tools to visual studio .Net Framework project
  3. Update library and tools to visual studio .Net Framework project

NuGet does all the necessary tasks required to work with a library or tool. It

  • Modifies config files
  • Add or remove references
  • Sync updated feature with source control of the project

Downloading and Installing

To download go to and click on Install NuGet


You will be redirected to . You need to click download to download NuGet Package Manager.


After downloading click package to install .


It will take fraction of seconds to install it.


After successful installation if you go to Tools then Library Package Manager, you will get option for Package Manager.


If you want to check all the available NuGet commands, you can check as below,


If you want to see list of package available you can see as below. In below command


You can install a package with below command


In this way you can update and remove a package as well.

You can read full documentation here . Now what are you waiting for? Go ahead and use NuGet. I hope this post will add some value in your learning. Thanks for reading.

Published by

Dhananjay Kumar

Dhananjay Kumar is Developer Evangelist for Infragistics. He is a 8 times Microsoft MVP and well respected Developer Advocate in India.He is the author of 900+ Blog Posts, and can often be found speaking around India at conferences and hosting free workshops for programmers across the country. So far, he has hosted 60 free workshops on various topics like JavaScript, Angular, WCF, ASP.NET MVC, C#, Azure etc. Follow him on twitter @debug_mode for all the updates about his blog posts and workshops. You can send him email at debugmode [at] outlook [dot] com

5 thoughts on “How to work with NuGet?”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s