【发布时间】:2016-09-27 20:47:07
【问题描述】:
我使用 Nuget 管理器来更新 jQuery:
安装包 jQuery
出现以下错误:
jquery.maskedinput-1.2.2.js:9 Uncaught TypeError: Cannot read property 'msie' of undefined
但是 jQuery 更新成功了。
Successfully installed 'jQuery 2.2.3'.
Successfully removed 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0' from IIT_WEB_APP.
You are downloading Microsoft.jQuery.Unobtrusive.Ajax from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/mvc_4_eula_enu.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.30506.0'.
Successfully added 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.30506.0' to IIT_WEB_APP.
The intellisense file was not found in project at path D:\AAAAAAAAAAAA From Rezon\IIT_NEW_Stable_26-05-16_2\IIT_NEW\IIT_WEB_APP\Scripts\jquery-1.7.1.intellisense.js
Successfully removed 'jQuery 1.7.1.1' from IIT_WEB_APP.
Successfully added 'jQuery 2.2.3' to IIT_WEB_APP.
IntelliSense JS files are not supported by your version of Visual Studio: 10
Successfully uninstalled 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0'.
Successfully uninstalled 'jQuery 1.7.1.1'.
我该如何解决这个问题?
【问题讨论】:
-
您是否已经安装了其他版本的 jquery ?
-
可能会尝试安装一些特定的版本,例如。安装包 jquery -version 1.9.0
-
@AjinderSingh 是的'jQuery 1.7.1.1'。但成功卸载了“jQuery 1.7.1.1”。
标签: javascript c# jquery asp.net-mvc-4