本文介绍了添加"Microsoft.jQuery.Unobtrusive.Validation";包要求使用jQuery 1.4.1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在其中一个项目中,我需要重新安装jQuery NuGet软件包(一种MVC解决方案).

In one of the projects I needed to reinstall the jQuery NuGet package (a MVC solution).

还有一个"Microsoft.jQuery.Unobtrusive.Validation",我应该在删除jQuery程序包之前先将其卸载.

There were also a "Microsoft.jQuery.Unobtrusive.Validation", that I should uninstall before removing the jQuery package.

现在,我尝试(重新)安装jQuery软件包以及之前删除的所有相关软件包. "Microsoft.jQuery.Unobtrusive.Validation"包中断了:

Now I try to (re)install the jQuery package, and all dependent packages I removed before. The "Microsoft.jQuery.Unobtrusive.Validation" package breaks saying:

是das吗?我需要使用最新的jQuery(2.0.xx)!

was is das? I need to use the latest jQuery (2.0.xx)!

我应该指出类似的"Microsoft.jQuery.Unobtrusive. Ajax "包没有此错误".它安装没有问题.

I should remark that the similar "Microsoft.jQuery.Unobtrusive.Ajax" package does not have this 'bug'. It was installed without problems.

PS.现在,我尝试安装(非Microsoft)jQuery.Validation ...

PS. Now I tried to install the (non-Microsoft)jQuery.Validation...

这是错误日志:

推荐答案

我现在也遇到了同样的问题.

I just ran into this same issue now.

使用NuGet,我添加了"jQuery",然后添加了"jQuery Validatation"再次尝试了"Microsoft jQuery Unobtrusive Validation",这次安装很好:)

Using NuGet I added "jQuery", then "jQuery Validatation"Tried "Microsoft jQuery Unobtrusive Validation" again, this time it installed nicely :)

这篇关于添加"Microsoft.jQuery.Unobtrusive.Validation";包要求使用jQuery 1.4.1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:09