user3252627
user3252627

Reputation: 25

Adding System.Net.Http.dll reference to windows phone 8 project throwing error

I am beginer to windows phone 8 development. I want to use HttpClient in my app it throws an error to add namespace for that. I am unable to include System.net.http.dll reference to my project when i tried to do that i got this error as shown in screenshot below

http://i60.tinypic.com/2mdj447.jpg

I am using visualstudio 2013 and .net 4.5

Upvotes: 0

Views: 1261

Answers (1)

Igor Kulman
Igor Kulman

Reputation: 16361

You cannot add a DLL built for the "big" .NET. Add the portable version using Nuget (https://www.nuget.org/packages/Microsoft.Net.Http/)

Install-Package Microsoft.Net.Http

Upvotes: 2

Related Questions