July 15, 2014 | Posted in: Visual Studio 2012

In Visual Studio under Tools, if you have NuGet installed you should see an option “NuGet Package Manager… Console”.

Here you can install and uninstall packages in the console by specifying the  -package, the -version and the -project and it takes care of the installation and references for you:

 

Install-Package EntityFramework -Version 5.0.0 -Project MyProject

Uninstsall-Package EntityFramework -Version 5.0.0 -Project MyProject

Be the first to comment.

Leave a Reply

*


nineteen − 10 =


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>