Microsoft.Rest.ClientRuntime无法安装在Xamarin PCL Project中

时间:2017-10-21 10:31:41

标签: c# rest xamarin

我尝试通过 Nuget Microsoft.Rest.ClientRuntime v2.3.10 添加到标准Xamarin PCL项目,并出现以下错误:< / p>

无法安装软件包'Microsoft.Rest.ClientRuntime 2.3.10'。您正在尝试将此软件包安装到以“.NETPortable,Version = v4.5,Profile = Profile111”为目标的项目中,但该软件包不包含任何与该框架兼容的程序集引用或内容文件。

项目目标如下:

enter image description here

1 个答案:

答案 0 :(得分:0)

解决方案只是安装版本2.0.0的Microsoft.Rest.ClientRuntime,它是可移植的。