SIGN UP MEMBER LOGIN:    
ARTICLE

How to Work with NuGet?

Posted by Dhananjay Kumar Articles | Cloud Computing January 09, 2012
NuGet is a Visual Studio extension. It helps you Add library and tools to Visual Studio .Net Framework project. Remove library and tools to Visual Studio .Net Framework project and update library and tools to Visual Studio .Net Framework project.
Reader Level:

NuGet is a Visual Studio extension and you can get it from here. It helps you to:

  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:

  1. Modifies config files
  2. Add or remove references
  3. Sync updated feature with source control of the project

Downloading and Installing

To download go to http://nuget.codeplex.com/ and click on InstallNuGet.

GuNet1.gif

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

as1.gif

After downloading, click on the package to install.

GuNet3.gif

It will take a fraction of a second to install it.

GuNet4.gif

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

GuNet5.gif

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

GuNet6.gif

If you want to see list of packages available you can see as below. In the following command:

GuNet7.gif

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

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

[twitter-follow screen_name='debug_mode' show_count='yes']

Login to add your contents and source code to this article
share this article :
post comment
 

Nice functionality..keep sharing features like this

Posted by Alec Stewart Jan 10, 2012

It's a great effort to explain about the NuGet keep it up thanks...

Posted by Michell Johnson Jan 10, 2012

great work.

Posted by Akshay Teotia Jan 10, 2012

Thanks

Posted by Arjun Panwar Jan 10, 2012

Want to know more about it.. hope you will consider the requests..

Posted by Emmy Dickens Jan 10, 2012
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor