1

我正在为我的应用程序创建一个新版本以修复一些屏幕尺寸设置(在我之前的版本中,我没有考虑不同的屏幕尺寸,并且我在我的 xaml 代码中硬编码了每个事物的位置)并且我在编译时遇到了问题对于 ARM。我之前的版本包括扩展的启动类和编码,以便通知用户应用程序正在准备就绪。但是有些东西在大屏幕上分散在屏幕周围,我制作了一个新版本的应用程序来解决这个问题。现在,当我尝试为商店创建应用程序包时,不会创建 ARM 包。我收到 5 个错误:

Error   1   The name "LayoutAwarePage" does not exist in the namespace "using:Greek_Blogs.Common".  D:\Skydrive\Cyprus RSS Reader\RSSReader\WindowsBlogReader\ItemsPage.xaml    1   1   Greek Blogs Reader

Error   2   The member "Resources" is not recognized or is not accessible.  D:\Skydrive\Cyprus RSS Reader\RSSReader\WindowsBlogReader\ItemsPage.xaml    14  5   Greek Blogs Reader
Error   3   The name "AdControl" does not exist in the namespace "using:Microsoft.Advertising.WinRT.UI".    D:\Skydrive\Cyprus RSS Reader\RSSReader\WindowsBlogReader\ItemsPage.xaml    146 13  Greek Blogs Reader

Error   4   The name "FeedDataSource" does not exist in the namespace "using:Greek_Blogs".  D:\Skydrive\Cyprus RSS Reader\RSSReader\WindowsBlogReader\App.xaml  1   1   Greek Blogs Reader

Error   5   The name "DateConverter" does not exist in the namespace "using:Greek_Blogs".   D:\Skydrive\Cyprus RSS Reader\RSSReader\WindowsBlogReader\App.xaml  1   1   Greek Blogs Reader

我的问题是:为什么这些错误只出现在 ARM 编译中?为什么它们现在出现而不是以前出现,因为它们属于我没有编辑的 xaml 页面?我该如何修复它们?

另外,如果为 AnyCPU 创建一个包,它可以在 ARM 上运行吗?根据定义 AnyCPU 包含 ARM 但由于我没有 ARM 设备我无法测试它所以我在这里问

4

0 回答 0