Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

tried to update from V7.5.3 to V7.15.1. When I tried to update I got the above error. What I did

  • Downloaded and extracted
  • Replaced bin,umbrco,umbraco client folders with old site
  • merged the settings in web.config file

I got the following error

Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/99499-could-not-load-file-or-assembly-systemwebhttp-version-4000-culture-neutral-publickeytoken-31bf3856ad364e35