Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Forms iOS and NuGet HttpClient

$
0
0

I am using the portable HttpClient from NuGet in my PCL project.
<package id="Microsoft.Net.Http" version="2.2.27-beta" targetFramework="portable-net45+win+wp80+MonoAndroid10+MonoTouch10" />
I have a list view that display images whose Source is set to image urls from the Internet. The app display images correctly on Android emulator, but failed to do so on iOS emulator. Multiple copies of the following errors are in the output window

Missing method .ctor in assembly /Users/yumeng/Library/Caches/Xamarin/mtbs/builds/FormsTemplateiOS/1e3c7295-0275-42ae-83a3-49dcf5e894d9/assemblies/Xamarin.Forms.Platform.iOS.dll, type System.Net.Http.CFNetworkHandler
Missing method .ctor in assembly /Users/yumeng/Library/Caches/Xamarin/mtbs/builds/FormsTemplateiOS/1e3c7295-0275-42ae-83a3-49dcf5e894d9/assemblies/Xamarin.Forms.Platform.iOS.dll, type System.Net.Http.CFNetworkHandler
Missing method .ctor in assembly /Users/yumeng/Library/Caches/Xamarin/mtbs/builds/FormsTemplateiOS/1e3c7295-0275-42ae-83a3-49dcf5e894d9/assemblies/Xamarin.Forms.Platform.iOS.dll, type System.Net.Http.CFNetworkHandler
Missing method .ctor in assembly /Users/yumeng/Library/Caches/Xamarin/mtbs/builds/FormsTemplateiOS/1e3c7295-0275-42ae-83a3-49dcf5e894d9/assemblies/Xamarin.Forms.Platform.iOS.dll, type System.Net.Http.CFNetworkHandler
Missing method .ctor in assembly /Users/yumeng/Library/Caches/Xamarin/mtbs/builds/FormsTemplateiOS/1e3c7295-0275-42ae-83a3-49dcf5e894d9/assemblies/Xamarin.Forms.Platform.iOS.dll, type System.Net.Http.CFNetworkHandler
...

Anyone knows what's wrong?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>