Wednesday, April 11, 2012

Get Started Using NuGet on Visual Studio 2010

You’ve been hearing things about NuGet, but aren’t sure where it is our how to use it. This is a basic instruction on how to get started.

Why NuGet? Developer Productivity. It makes it easier to do things like add Asp.Net Ajax or other libraries and utilities to your project without constantly searching the web for the download and installation process. It is great for items you add to your solutions regularly, but don’t always remember the steps because it has been a while since the last time.

NuGet

  1. Go to NuGet.org to download and install NuGet, a Visual Studio extension that makes it easier to download and install third party libraries in a Visual Studio project.
  2. Restart Visual Studio, if you had it open.
  3. Open the project you want to add the utility or library to.
  4. Click “Manage NuGet Packages” under the Visual Studio 2010 “Project” menu. image
  5. Search for a utility you are interested in, such as “AjaxControlToolkit”, “Modernizr”, or “MvcScaffolding”.
  6. Click the “Install” button.

No comments: