[Mono-list] Does Mono support System.Net.Http.HttpContentExtensions?

andresp andredasilvapinto at gmail.com
Fri Jul 18 17:06:34 UTC 2014


Hi,

While trying to trace down a bug in my application (running fine on MS .NET
and broken on Mono) caused by a third party dependency, I've found this
error when moving the 3rd party dependency code to my application:

"Error CS1061: 'System.Net.Http.HttpContent' does not contain a definition
for 'ReadAsAsync' and no extension method 'ReadAsAsync' accepting a first
argument of type 'System.Net.Http.HttpContent' could be found (are you
missing a using directive or an assembly reference?) (CS1061)
(MonoCSharpBug)"

This ReadAsAsync method is an extension method defined in MS .NET in
System.Net.Http.HttpContentExtensions. Does Mono support it? If yes, how can
I add it to the project?

Thanks



--
View this message in context: http://mono.1490590.n4.nabble.com/Does-Mono-support-System-Net-Http-HttpContentExtensions-tp4663373.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list