Click here to Skip to main content
11,581,186 members (58,183 online)
Click here to Skip to main content

Tagged as

How to install NuGet packages directly

, 23 Apr 2013 MIT 7.6K 4
Rate this:
Please Sign up or sign in to vote.
How to install NuGet packages directly.

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

Share

About the Author

Anuraj Parameswaran
Technical Lead
India India
Working as Tech. Lead

My blog : dotnetthoughts.net.
You can follow me in twitter : @anuraj

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150603.1 | Last Updated 23 Apr 2013
Article Copyright 2013 by Anuraj Parameswaran
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid