NuGet / PoliteCaptcha

PoliteCaptcha is a spam prevention library for use with ASP.NET MVC that attempts polite spam prevention first, before rudely presenting the user with a CAPTCHA.
Apache License 2.0
75 stars 13 forks source link

PoliteCaptcha's NuGet packages will install jQuery 2.0.0.0 for now #7

Closed doggy8088 closed 11 years ago

doggy8088 commented 11 years ago

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!

joelwynes commented 11 years ago

I am having the same issue. Any resolution?

analogrelay commented 11 years ago

You can set a maximum version for the jQuery reference in your packages.config file: http://docs.nuget.org/docs/reference/versioning

TimLovellSmith commented 11 years ago

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?

joelwynes commented 11 years ago

Tim: Updating the NuGet extension worked like a charm! Good call. Thanks for the input.

TimLovellSmith commented 11 years ago

Cool, I'll go ahead and close this then. :)