无法将 Xamarin.Android 和 Xamarin.iOS 添加到 PCL [英] Unable to add Xamarin.Android and Xamarin.iOS to PCL

查看:18
本文介绍了无法将 Xamarin.Android 和 Xamarin.iOS 添加到 PCL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试锻炼 中的步骤进行操作,但没有奏效.

有人能解释一下这个问题吗.

谢谢.

解决方案

微软最近(主要是好的)变化意味着现在可以正式一起使用的平台设置为:

  • sl5
  • wp8
  • winstore
  • wpf 与 .net 45
  • xam 双胞胎

要支持这些,请尝试 Mvvmcross 的 3.1.1 版本 - 目前在 Beta 版中可用 试用 Beta 包 - 3.1.1-beta5 - 在 nuget 中使用include prerelease".

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.

解决方案

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.

这篇关于无法将 Xamarin.Android 和 Xamarin.iOS 添加到 PCL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆