Closed doggy8088 closed 11 years ago
I am having the same issue. Any resolution?
You can set a maximum version for the jQuery reference in your packages.config file: http://docs.nuget.org/docs/reference/versioning
I don't think PoliteCaptcha sets a restriction on the jquery version to install, so I'm not sure how it can be causing this problem. Which version of nuget client tools (VS plugin or whatever) are you using, and what is the full list of packages you had installed before installing PoliteCaptcha?
Tim: Updating the NuGet extension worked like a charm! Good call. Thanks for the input.
Cool, I'll go ahead and close this then. :)
Hi,
Due to your PoliteCaptcha NuGet packages set a dependecy on "jQuery", which the latest jQuery version is 2.0.0 for now. If I try to install PoliteCaptcha in my current ASP.NET MVC project. It will be fail to install due to jQuery is unable to upgrade to version 2.0.0. Here is the error message:
PM> install-Package -id PoliteCaptcha Attempting to resolve dependency 'jQuery'. Attempting to resolve dependency 'recaptcha'. Successfully installed 'jQuery 2.0.0'. Successfully installed 'PoliteCaptcha 0.4.0.1'. Install failed. Rolling back... install-Package : Updating 'jQuery 1.8.2' to 'jQuery 2.0.0' failed. Unable to find a version of 'Microsoft.jQuery.Unobtrusive.Ajax' that is compatible with 'jQuery 2.0.0'. At line:1 char:1
My suggestion is that your package may set to more specific jQuery version on your NuGet package.
Thanks!