recaptcha-net icon indicating copy to clipboard operation
recaptcha-net copied to clipboard

NuGet Package Missing Newtonsoft.Json Reference

Open mjkent opened this issue 6 years ago • 3 comments

The Recaptcha.Net NuGet package does not list Newtonsoft.Json as a dependency, but will fail at runtime if it is not installed.

To reproduce, create a simple page using the widget in a package without Newtonsoft.Json, on submit of the page and calling this.GetRecaptchaVerificationHelper(); an error will be thrown.

https://www.nuget.org/packages/RecaptchaNet/2.1.0/

mjkent avatar Sep 25 '18 14:09 mjkent

I have the same issue. You are right

holivieri avatar Dec 06 '18 00:12 holivieri

I am having exact issue. How to fix it?

mtran21 avatar Feb 27 '19 22:02 mtran21

@mtran21: Manually install the package you need from NuGet.

mjkent avatar Mar 02 '19 22:03 mjkent