Sunday, 8 October 2017

'HttpContent' does not contain a definition for 'ReadAsAsync'

'HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method
'ReadAsAsync' accepting a first argument of type 'HttpContent' could be found
(are you missing a using directive or an assembly reference?)

Solution:
Add below refences.
System.Net.Http.Formatting.