How to limit update-package to jquery 1.x in nuget Visual Studio
jQuery 2.x does not work with IE 6, 7, 8 so to keep the nuget “update-package” command from updating to 2.x, you need to edit the existing jQuery line in your packages.config file. This file is in the root of your application.
<package id="jQuery" version="1.10.1" targetFramework="net45" allowedVersions="[1.10.1,2)" />
You can quickly find the pacakges.config by using the search functionality in the Solution Explorer (pic)
I’m using Visual Studio 2012, with .NET 4.5. You might have to change the targetframework if you are using an older framework.