Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0,

dear support.
this is my first attempt to use hangire.
i am getting this error in Startup.cs class.

Could not load file or assembly ‘Newtonsoft.Json, Version=4.5.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)

i did the rebinding in web.config but not luck.



pls advise.

You need to reference the Newtonsoft JSON library. You can add it to your project using NuGet. If you have a different version of the libary installed, you may need a binding redirect in your web.config file. NuGet normally takes care of adding a binding redirect, but if it’s missing just add one for the version you are using.