Can I use HttpClient in a netstandard1.0 project?

155 Views Asked by At

I have some cs projects that I am building into a nuget package that will be installed by another app made with PCLs. I've changed the projects to target netstandard1.0, this made the nuget installable by PCLs. I managed to resolve all references needed by the netstandard1.0 projects except System.Net.Http. One project has to make an HTTP request out and we were using HttpClient. I cannot find a way to use HttpClient in a netstandard1.0 project. Is this possible?

1

There are 1 best solutions below

0
Ramsey Rodriguez On BEST ANSWER

I couldn't get around upgrading to netstandard1.1 and had to update the PCL profiles to be Profile111 to work with netstandard 1.1