Miscellaneous

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 http://nuget.codeplex.com/ and click on Install NuGet

clip_image001

You will be redirected to http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c . You need to click download to download NuGet Package Manager.

clip_image003

After downloading click package to install .

clip_image004

It will take fraction of seconds to install it.

clip_image005

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

clip_image006

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

clip_image007

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

clip_image008

You can install a package with below command

clip_image010

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.

About Dhananjay Kumar

Dhananjay Kumar is Developer, Blogger , Speaker, Learner , Mindcracker & Microsoft MVP.

Discussion

4 Responses to “How to work with NuGet?”

  1. So true. Thank you so much for this information!

    Posted by Lisa | January 10, 2012, 5:18 am

Trackbacks/Pingbacks

  1. Pingback: Dew Drop – January 8, 2012 (#1,236) | Alvin Ashcraft's Morning Dew - January 8, 2012

  2. Pingback: Windows Azure Storage Client Library for Windows Phone: Part 1 « debug mode…… - January 9, 2012

  3. Pingback: Monthly Report January 2012: Total Posts 31 « debug mode…… - February 1, 2012

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,380 other followers

Tweets

Categories

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my current or previous employer's view in anyway. © Copyright 2012