是否可以将Windows RT应用程序移植到Windows Phone应用程序



最近刚刚发布了Windows商店的应用程序,我想知道是否可以将其"降级"到Windows Phone 7.1 - 直到Windows Phone 8到达。

真正的问题是异步物,我找到了"异步定位包",但它需要Visual Studio 2012;但是,VS2012与手机SDK 7.0、7.1无法使用。

我不想在我的全新Windows 8机器上安装旧且丑陋的Visual Studio 2010:)

有人知道解决方法吗?

Windows Phone 8到达了,不幸的是,如果代码使用异步/等待,则不允许您编译Windows Phone 7.1的应用程序。您可以尝试将代码移植到Windows Phone 8,该Windows Phone 8支持异步/等待框架。

如果您仍然想拥有应用程序的WP7.1端口并仍然使用异步/等待功能,则除了为WP7 async CTP安装VS2010 Express外,您别无选择。

尽管2012年Visual Studio 2012的异步定位包已经到来,但您无法针对WP7项目,因为WP7是Silverlight 4,而Targeting Pack适用于Silverlight 5。

更新:使用此漂亮的Nuget软件包,有一种方法可以在Visual Studio 2012 Express上编译WP7应用程序。但是,请注意它当前在预发行版中。

Windows Phone 8明天要启动Windows Phone 8,那么为什么需要将应用程序降级到Windows Phone 7.1?

本文可能会对您的问题有答案。

今天,您可能还看到了Visual Studio 2012的在线发布会。WindowsPhone SDK 8.0建于Visual Studio 2012上,并将使您能够构建针对两个Windows Phone 8的应用程序和游戏以及Windows Phone 7.5。Windows Phone SDK 7.1可以与Visual Studio 2012并排安装,并在Windows 8上运行。

最新更新