我正在使用Visual Studio 2012中的asp.net mvc5 Web项目。现在我运行以下命令来更新Microsoft.jQuery.Unobtrusive.Ajax
: -
Install-Package Microsoft.jQuery.Unobtrusive.Ajax -Version 3.2.2
我知道它已成功安装: -
Attempting to resolve dependency 'jQuery (≥ 1.8)'.
'Microsoft.jQuery.Unobtrusive.Ajax 3.2.2' already installed.
Removing 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0' from SkillManagementTDMGroup.
Successfully removed 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0' from SkillManagementTDMGroup.
Adding 'Microsoft.jQuery.Unobtrusive.Ajax 3.2.2' to SkillManagementTDMGroup.
Successfully added 'Microsoft.jQuery.Unobtrusive.Ajax 3.2.2' to SkillManagementTDMGroup.
Uninstalling 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0'.
Successfully uninstalled 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0'
现在当我检查packages.config
文件时,我发现仍然是jquery.unobstrusive.ajax版本是2.0.20710.0而不是3.2.2如下: -
<package id="jQuery.Ajax.Unobtrusive" version="2.0.20710.0" targetFramework="net45" />
所有人都可以就此问题提出建议吗?