Click here to Skip to main content
Click here to Skip to main content

How to install NuGet packages directly

By , 23 Apr 2013
 

If you are developing applications using VS 2010 Express editions, you will miss the Package Manager console, which helps us to install libraries or packages via NuGet. The Nuget package manager console is not integrated to VS 2010 Express editions.(Visual Web Developer Express is an exception, it has a package manager console integration). To overcome this issue I found some workarounds like create project in VS C# Express edition, open the same project in VS Web Developer Express and install package(s) using NuGet. But I don’t feel that is a good solution to the problem. Later I found a nice solution using NuGet command line option. You can download the NuGet.exe from Codeplex.

You can download any package from NuGet.org using following command.

Nuget.exe install <package name>

Using Nuget.exe, you can see the list of assemblies using list command option.

NuGet.exe list <package name>

Currently there is no command to delete an installed package using NuGet.exe, instead you can delete the folder directly.

Here is the screen shot NuGet.exe installing jQuery.Validation from NuGet.org.

NuGet commandline

License

This article, along with any associated source code and files, is licensed under The MIT License

About the Author

Anuraj Parameswaran
Technical Lead Accel Frontline Ltd
India India
Member
Working as Tech. Lead in Accel Frontline Ltd.
 
My blog : dotnetthoughts.net.
You can follow me in twitter : @anuraj

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130513.1 | Last Updated 23 Apr 2013
Article Copyright 2013 by Anuraj Parameswaran
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid