Possible Duplicate:
Could not load file or assembly 'System.Net.Http, Version=2.0.0.0 in MVC4 Web API
I have created a .net mvc 4 project in vs11. I have set the runtime to 4.0 and deployed the app to appharbor. When I run the application I get "Could not load file or assembly 'System.Net.Http' or one of its dependencies.".
Any ideas?
If I remove the reference to this assembly the application works but if I try to use the new web api features it crashes with the same message (of course).
It should be possible to run the web api features on a .NET 4.0 runtime right?
EDIT: I see that when I get the properties on the system.net.http.dll it says version 1.0.0.0 and in the reference in VS it says 2.0.0.0. Could this be the reason why it does not load?