I have the same problem, but on the other hand. I have MyProject with System.Net.Http library and MyUnitTestProject with System.Net.Http too. Once upon a time I ran unit tests, it crashed with a strange problem. Not final: test not running: 
And where was there some kind of exception "JetBrains came out with code ...." that says nothing to me: 
Then I found out what the problem was in the redirect binding for System.Net.Http, which was added by some NuGet package. I remove the binding redirection, but get another exception close to your "System.Net.Http.HttpRequestMessage ...": 
The problem was in the library versions - MyProject had 4.0.0.0 (from the .net Framework), but MyUnitTestProject was 4.2.0.0 (from the Visual Studio folder), and a binding redirect was added for 4.2.0.0, which, I think, cannot be found. So I change it to 4.0.0.0, and it works:
<dependentAssembly> <assemblyIdentity name="System.Net.Http" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /> <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" /> </dependentAssembly>
source share