tanveery / recaptcha-net

reCAPTCHA for .NET library lets you easily use Google's reCAPTCHA in an ASP.NET Web Forms / MVC / ASP.NET Core application.
Apache License 2.0
161 stars 68 forks source link

Recaptcha.Web.dll crashes - cannot find file assembly #43

Open Ori4 opened 6 years ago

Ori4 commented 6 years ago

Recaptcha.Web.dll has been working beautifully for quite a while. Recently, it started crashing with this error: Could not load file or assembly 'Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

After some investigation, I thought it is happening because my Windows installation has upgraded Newtonsoft.Json. So I thought I would rebuild Recaptcha.Web.dll using the upgraded Newtonsoft.Json, and the online source.

Now, I am getting this error: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

Help is most appreciated.

Ori

tanveery commented 5 years ago

@Ori4 Do you still have this issue?

Ori4 commented 5 years ago

While the error is no longer happening (great!), I do not remember the steps I took to fix it - sorry.