typesafe / mnailgun

A simple .Net wrapper library for the Mailgun API that allows you to send messages, create web hooks, manage mailboxes, etc. with minimal effort.
Other
35 stars 25 forks source link

mailgun with json.net newer version #1

Closed SebaVDP closed 11 years ago

SebaVDP commented 12 years ago

Hi,

I am using json.net version 4.5.8 (latest). I noticed that somethimes I reveive an exception (see below) Is it possible to update your nuget package with the latest version of json.net.

Best regards

Sébastien

Exception: Message: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' at Typesafe.Mailgun.Http.MailgunHttpResponse.ReadJson() at Typesafe.Mailgun.Http.MailgunHttpRequest.GetResponse() at Typesafe.Mailgun.MailgunClient.SendMail(MailMessage mailMessage)

typesafe commented 12 years ago

I'll try to update this asap, I'll keep you posted. Maybe you can use a binding redirect until then?

typesafe commented 12 years ago

asap turned out to be really, really late... :-(

But for what it's worth... I just upgraded to JSON.Net nuget pkg version 4.5.11 in version 0.3.0 (http://nuget.org/packages/mnailgun).

SebaVDP commented 11 years ago

no problem. I had a workaround for it. But now I can take again your nuget package :-).

Thanks