John
John

Reputation: 430

Building Xamarin.Forms app in mobile Center

I have mobile center set to build from my git repo of my app but for some reason the build process does not recognize the using statement

 using System.Net.Http;

and for that reason it fails. is there something I'm not doing exactly?

Upvotes: 0

Views: 116

Answers (2)

John
John

Reputation: 430

Okay to solve this issue all I had to do was add as a Nuget Microsoft.Net.Http to my PCL project and it was able to build in mobile center without affecting my Visual Studio Project.

Upvotes: 0

Clancey
Clancey

Reputation: 333

Visual studio can automatically resolve some dll's. Check the references and make sure that you have added System.Net.Http reference. If it is a PCL, make sure you add the Nuget.

Upvotes: 0

Related Questions