简体   繁体   中英

NuGet jQuery Update - Unable to find a version of 'Microsoft.ScriptManager.jQuery'

I'm trying to update jQuery using NuGet. I'm getting following message.

Successfully installed 'jQuery 1.9.1'.
Install failed. Rolling back...
Updating 'jQuery 1.6.2' to 'jQuery 1.9.1' failed. Unable to find a version of 'Microsoft.ScriptManager.jQuery' that is compatible with 'jQuery 1.9.1'.

I'm wondering how to solve this.

在此处输入图片说明

Looking at the nuget packages it looks like Microsoft.ScriptManager.jQuery http://nuget.org/packages/Microsoft.ScriptManager.jQuery/ has been superceded by AspNet.ScriptManager.jQuery http://nuget.org/packages/AspNet.ScriptManager.jQuery/ . Id try backing up your project, uninstalling (rather than updating) jQuery and then installing the new version of jQuery and the ASPNet version of scriptmanager.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM