We have installed the latest Twilio version(5.69.0) in our .NET project (.NETFramework Version is 4.6.2)and updated the following.
Microsoft.Identitymodel.Token (Version:6.15.0)
System.Identity.Model.Token.jwt (Version:6.15.0)
Newtonsoft.Json- (Version:12.0.2)
In the description it is said that we can use Newtonsoft.Json version >=10.0.1(Please see the screenshot)
But we are getting the following error.
System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.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=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
at Twilio.Clients.TwilioRestClient.Request(Request request)
at Twilio.Rest.Api.V2010.Account.RecordingResource.Read(ReadRecordingOptions options, ITwilioRestClient client)
at Twilio.Rest.Api.V2010.Account.RecordingResource.Read
Please advise.
Thanks in advance.