Please check this answer
Could not load file or assembly 'System.Memory, Version=4.0.1.' in Visual Studio 2015
Normally those kind of issues need to be solved adding a coverage of a range of versions, check which on you have on the config.
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />