Quantcast
Channel: Configuration and Deployment
Viewing all articles
Browse latest Browse all 3561

Reference error for 'System.Net.Http, Version=2.0.0.0,

$
0
0

Hi There,

I recently changed the default .net version of my project from 4.5 -> 4.0 as my host does not support the new version as yet. I have a reference to the System.Net.Http, Version=4.0.0.0 in my project already. I tried to find the System.Net.Http, Version=2.0.0.0 but it can't see it in the list of references. Do I need to install another framework or something?

-- error 

Error29 The type 'System.Net.Http.HttpMessageHandler' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.


Viewing all articles
Browse latest Browse all 3561


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>