I am trying to send a HTTP request in Windows Phone using Visual Studio 2010 Express, but I am getting this error:
The type or namespace name 'HttpClient' could not be found (are you missing a using directive or an assembly reference?)
It's not able to find HttpClient even when I used using system.windows.httpclient. I am not able to get which reference is actually missing.
What reference do I need to add? Or what do I need to do to resolve this issue?
You have two options here.
You cannot use HttpClient with Visual Studio 2010, no Framework 4.5 supported.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With