无法在Xamarin iOS中加载System.Net.Http.Primitives

Mat*_*son 5 azure xamarin.ios xamarin azure-mobile-services xamarin.forms

我有一个更新的旧Xamarin表单项目,它使用Microsoft Azure的移动应用程序服务(以前使用的Azure移动服务).

工作正常,但经过干净和重建后,我现在每次尝试运行时都会收到此错误(我正在使用Xamarin Studio)

Could not load file or assembly 'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Run Code Online (Sandbox Code Playgroud)

Microsoft.Azure.Mobile.Client和SQLiteStore版本为2.0.1.我试过通过NuGet删除和读取程序集,没有任何运气.

有没有人看过这个问题或解决了吗?

小智 2

Xamarin iOS (monotouch) 依赖于 System.Net.Http.Primitives 版本4.2.29.0,而版本1.5.0.0适用于平台 portable-net40+sl4+win8+wp71+wpa81 。正如Eric Hedstrom评论的那样,您是否尝试过答案中的步骤?