【问题标题】:Azure Mobile Services in a PCL project that includes WP8包含 WP8 的 PCL 项目中的 Azure 移动服务
【发布时间】:2013-12-20 05:31:22
【问题描述】:

是否可以在包含 WP8 的 PCL 中包含 AzureMobileServices 客户端?

我曾经有一个 PCL 项目,直到我将它升级到 VisualStudio 2013。

所需的 PCL 是 profile78.NET4.5Windows Store apps (Win8)WP8Xamarin 双胞胎。

我尝试按照 this recommendation from Xamarin 直接引用组件的 DLL,但是 DLL 是为 profile7 编译的(不包括 WP8)。

【问题讨论】:

    标签: c# windows-phone-8 xamarin portable-class-library azure-mobile-services


    【解决方案1】:

    是的。确保您使用的是至少 1.1.5 版的移动服务 NuGet 包或 Xamarin 组件,并且您将能够从包含 WP8 的 PCL 成功使用它。有关如何执行此操作的教程,请参阅 here

    【讨论】:

      【解决方案2】:

      看起来他们的 nuget 包只包含 Store、.Net 4.5、Wp8 和 Portable-Store+.Net 4.5 的目录。但是,如果我 ildasm 便携式文件夹中的 dll,我发现它是为 Profile78 构建的,它确实支持手机。

      这看起来像是 WindowsAzure.MobileServices.nupkg nuspec 创作的一个错误。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-12-10
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-01-17
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多