I have WebApi controller which is working correctly and I can send requests using postman or anything else.
But when I send requests locally I get an error and when I'm trying to reach the endpoint I get an error:
Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I've updated all the Nuget packages so all the projects have the same version.
I tried to delete package folder and restore all packages.
I tried to reinstal Microsoft.AspNet.WebApi for solution.
Nothing helped.