Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Creating a WCF client inside a PCL I'm unable to add a HttpCookieContainerBindingElement.

$
0
0

Basically, I'm writing an android application and an iOS Phone/Tablet application and I want to move all common code out to a PCL library. All was going fine until I got the following exception:

System.InvalidOperationException: Unable to set the CookieContainer. Please make sure the binding contains an HttpCookieContainerBindingElement.

On trying to add this HttpCookieContainerBindingElement to the binding, I discover that the class does not even exist. My PCL targets Xamarin.iOS, Xamarin.Android, .Net 4.5, and Silverlight 5.

This is a complete and total blocker for me now. Can any of you guys shed some light on this for me and show me a way forward?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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