Search code examples
xamarin.formspackagenuget

This package may not be fully compatible with your project


Hi Guys I am using visual studio 2017 to build Xamarin.Forms mobile app. I installed 'Microsoft.Net.Http 2.2.29' Package from NuGet packages but i got this warning message : Package 'Microsoft.Net.Http 2.2.29' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

How can I fix it ??


Solution

  • The solution is to delete the reference and use the HttpClient declared in the System.Net.Http namespace.