Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HttpClient is not found in .NET 4.5

I am trying to use the new HttpClient in .NET 4.5, but Visual Studio complains that it doesn't exist. I have System.Net, but when I type System.Net.Http, it complains for that too.

Am I supposed to download a new distributable for this class?

like image 628
Joan Venge Avatar asked May 01 '13 21:05

Joan Venge


1 Answers

Add a reference to System.Net.Http:

add ref

like image 78
ulrichb Avatar answered Sep 30 '22 22:09

ulrichb