-
Notifications
You must be signed in to change notification settings - Fork 353
Description
Hi,
I am getting below error :
System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
—-> System.IO.FileLoadException : Could not load file or assembly ‘Newtonsoft.Json, Version=6.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)
Actually I have IdentityModel 3.10.6 which uses Newtonsoft.Json (>= 11.0.1)
and Microsoft.AspNet.WebApi.OwinSelfHost 5.2.7 which uses Newtonsoft.Json (>= 6.0.4)
.
Newtonsoft.Json used by Microsoft.AspNet.WebApi.OwinSelfHost 5.2.7
that I can't control. I tried Assembly binding redirect concept and hope this issue may solve but still it's giving me the error and I am blocked.