I have updated the jquery version 2.0 but i found that this is not compatible with ie7 and 8 now i want to revert to old version 1.9.0. When i try to install this with Nuget console it gives me error that already new version is installed.
install-package jquery -version 1.9.0
Successfully installed 'jQuery 1.9.0'.
Install failed. Rolling back...
Install-Package : Already referencing a newer version of 'jQuery'.
At line:1 char:16
+ install-package <<<< jquery -version 1.9
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId :NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Right click on your project and *go to Manage NuGet Packages. Look at the below image. Select your Package and Choose the Version , which you wanted to install.
Open the Package Manager UI - Right-click on References and select Manage NuGet Packages... Open the Package Manager Console - From Tools > NuGet Package Manager , select Package Manager Console. Run NuGet restore - Right-click on the solution node in the Solution Explorer and select Restore NuGet Packages.
Try uninstalling the 2.0 version first:
Uninstall-Package [yourpackage] -Force
Then reinstalling the older package:
install-package jquery -version 1.9.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With