문제

Basically, I'm writing an android application and an iOS Phone/Tablet application using Xamarin and I want to have all common code out in 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?

도움이 되었습니까?

해결책

I don't have a solution, but there's a long thread on this topic on the Xamarin forums: http://forums.xamarin.com/discussion/2369/cookiecontainer-missing-in-6-2-1

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top