3

It's simple enough to install an older version of a NuGet package into a particular project (see this answer).

However, I can't figure out a way to do this solution-wide.

This is a common enough case now since jQuery went to the parallel 1.x / 2.x release model, where there is a current 1.x release and a current 2.x release which supports only the modern browsers. NuGet only shows the 2.x releases as current, making updating 1.x release a big pain.

Community
  • 1
  • 1
Michael Teper
  • 4,591
  • 2
  • 32
  • 49

1 Answers1

3

Install a package to a specific project using the command line:

Install-Package Common.Logging -Version 1.2.0

Then right click on your solution and go to manage nuget packages for solution. Go to the installed packages section and install it to the projects you need to.

It's not as simple as doing it in one step but it works.

Dismissile
  • 32,564
  • 38
  • 174
  • 263