【问题标题】:Are there any pros to using PCL profile 111 over 259 for Xamarin and MvvmCross?对 Xamarin 和 MvvmCross 使用 PCL 配置文件 111 超过 259 有什么优点吗?
【发布时间】:2017-02-08 05:53:55
【问题描述】:

我一直在使用 Stuart Lodge 出色的 MvvmCross 框架开发跨平台 Xamarin 应用程序,仅针对 iOS 和 Android(不需要 Windows 平台支持)。

Microsoft 发布了他们的 Portable Class Library BCL 包版本,Stuart 在http://slodge.blogspot.com.au/2013/11/quick-run-through-using-pcls-in.html 中描述了如何使用这些版本设置项目。

我一直在为几个项目愉快地使用配置文件 259,但现在我需要将配置文件 111 用于我必须使用的名为 refit 的库。我需要确保我不会通过对一个库进行此更改来自取其辱。

为什么要使用配置文件 259 而不是配置文件 111?反之亦然?

【问题讨论】:

    标签: xamarin mvvmcross portable-class-library


    【解决方案1】:

    Profile111 目标 portable-net45+netcore45+wpa81

    Profile259 目标 portable-net45+netcore45+wpa81+wp8

    区别在于Profile259 支持Windows Phone Silverlight (8.0),而Profile111 不支持。如果您不需要 Windows Phone Silverlight 支持,那就没问题了。

    【讨论】:

    • 谢谢!!我认为可以考虑更多,而不仅仅是它支持的平台。
    • Silverlight 已经死了,使用 Profile111 让事情变得更容易使用,并且您可以访问更好的反射 API
    • @Cheesebaron 这很有趣,因为大多数 nuget 包都要求我们使用 259 而不是 111。我不明白这一点。比如AWSSDK,我见过很多其他的。
    猜你喜欢
    • 2013-11-28
    • 1970-01-01
    • 2018-04-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多