Unable to add Xamarin.Android and Xamarin.iOS to PCL

≯℡__Kan透↙ 提交于 2019-12-30 10:57:06

问题


I'm trying to workout a sample project using MvvmCross, but I'm stuck with the first step of adding the frameworks in VS2012.

When I try to add Xamarin.Android and Xamarin.iOS framework in a PCL project, it is showing an error

There is no available functionality that is portable between the frameworks you have selected

I tried following the steps in this answer, but it didn't worked.

Can someone shed some light on this issue.

Thanks.


回答1:


Recent (mainly good) changes from Microsoft mean that the platforms that can officially be used together is now set to:

  • sl5
  • wp8
  • winstore
  • wpf with .net 45
  • the xam twins

To support these try the 3.1.1 release from Mvvmcross - currently available in beta as Try the beta packages - 3.1.1-beta5 - use "include prerelease" in nuget.



来源:https://stackoverflow.com/questions/21571543/unable-to-add-xamarin-android-and-xamarin-ios-to-pcl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!