1
votes

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 ??

1
I have the same issue. Was you able to find a solution? I have tried to run the dotnet remove package MY_PACKAGE_NAME and it did not help. :( - manymanymore

1 Answers

0
votes

The Solution is delete the reference and use the HttpClient declared in Namespace: System.Net.Http. its worked with me and no warning message:)