在尝试使用Xamarin开发简单的Android应用程序时遇到了一个问题。通过Nuget Package Manager安装Microsoft.AspNet.WebApi.Client会产生以下结果:
Error Could not install package 'Microsoft.AspNet.WebApi.Client
5.2.3'. You are trying to install this package into a project that targets
'MonoAndroid,Version=v6.0', but the package does not contain any assembly
references or content files that are compatible with that framework.
For more information, contact the package author.
如何解决此问题(使用或不使用NuGet)?
修改
解决方案是使用Xamarin Studio将此软件包下载到解决方案中。