In my Xamarin.Forms
project i am trying to use HttpClient
of Windows.Web.Http
.
I have to use that because i need to ignore some SSL errors.
When i create a HttpClient
object and try to call a method i get this error message:
Error CS0012 The type 'IAsyncOperationWithProgress<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'Windows.Foundation.FoundationContract, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime'.
I ve done some research and tried everything i found but couldnt fix it. How can i fix this ? Any help would be appreciated.