我尝试了很多,但无法将Microsoft.ProjectOxford.Face NuGet安装到Xamarin Studio iOS项目中。无法将Microsoft.ProjectOxford.Face NuGet安装到Xamarin Studio iOS项目中
我得到这个错误:
Could not install package 'Microsoft.ProjectOxford.Face 1.2.5.1'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.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.
我尝试更新的所有包,也Xamarin,仍然同样的问题。只有这个包不起作用 - 其他像Newtonsoft.Json,Mircosoft.Net.HTTP和许多其他安装正确。我试图安装第一个Microsoft.BCL也Microsoft.BCL.Build,它也不起作用。
也许你有什么想法我能做些什么来使它工作?
你好, 感谢您的回答。据我了解,将它安装到Xamarin的iOS项目中并不容易。 我发现我可以将它添加到我的解决方案中的新PCL项目中,而不是在我的iOS项目中对其进行引用。但我不想将整个应用程序重写为跨平台代码。 我需要特定的本机iOS代码来显示即使它应该是C-obj我可以使用C#(大学项目;>) 所以也许有任何解决方法,使其与我的iOS项目工作? –
不确定你想要做什么。有一个[json api](https://www.microsoft.com/cognitive-services/en-us/face-api),所以你可以避免使用Microsoft.ProjectOxford.Face NuGet包。似乎也有[本地iOS项目示例的例子](https://github.com/Microsoft/Cognitive-face-ios) –