【问题标题】:How to convert a windows store app into windows phone 8.0 app? [closed]如何将 Windows 商店应用程序转换为 Windows Phone 8.0 应用程序? [关闭]
【发布时间】:2013-04-08 22:06:34
【问题描述】:

我需要一个指南来将我的工作 Windows 商店应用程序转换为 Windows Phone 8 应用程序!

【问题讨论】:

    标签: c# xaml windows-8 windows-phone-8 windows-store-apps


    【解决方案1】:

    您无法自动执行此操作。尽管可能有相当多的代码可以重用,但由于 WinRT/WinPRT 的相似性,您仍然需要使用一些特定于平台的功能(例如存储)。

    我的同事 Rick Barraza,put together a fantastic guide 正在讨论将 Windows Phone 应用程序迁移到 Windows 8。

    【讨论】:

    【解决方案2】:

    您可以使用可移植类库在 Windows Phone 应用程序和 Windows 8 应用程序之间共享代码。重用您编写的代码可能会有所帮助,这些代码将适用于您在创建 PCL 时使用的平台。

    【讨论】:

    • link:Portable Class libraries“可以针对多个平台,包括 Windows 7、Windows 8、Windows Phone、Silverlight 和 Xbox 360”虽然 Windows Phone 8 和 Windows 8 使用类似的 XAML 来处理 UI,但它不是'不便携,不能放在 PCL 中。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多