Showing posts with label NuGet. Show all posts
Showing posts with label NuGet. Show all posts

Thursday, 21 March 2013

Install NuGet package manually

I accidentally (without checking the description) installed a new version of a package which is not compatible to the project and I cannot find the correct version from the NuGet Installer anymore.  I have a test project which contain the package.  Since I cannot install the package from the UI, I need to install it manually.

Open the Pack Manager Console (View, Other Windows) and type the following:
  • Install-Package <package name> -Source C:\Projects\<project name>\packages\
The package name will be the first part of the folder name before the version number.  For example, the package folder name is "MvcMailer.4.0" and the package name is "MvcMailer".