1

I'm trying to put a simple app on windows store. I made a fail attempt once, I submitted an app which failed to pass WACK, eventually it failed on submission too. Even then, when I try to package an app with my developer account logged in, I get a performance launch error.

Even on a blank app. also right after I create package logged in, my app's package name and provider fields on appmanifest are changes too. app's package name changes to the first app I submitted, and the provider changes to I guess my developer account's key.

I deleted my failed submission on dashboard, deleted all the names I reserved, including the failed one. But even when I reserve a new name and package my app with that name, my package name still changes to the very first one and fails on wack.

BUT, when I create package of my app WITHOUT logging in, I mean without associate with windows store, I can package my app with the name I want and pass the WACK. I hope anyone can help me with this.

Edit: C# application.

4

2 回答 2

1

我不完全确定我理解你的问题,但让我试试......

首先,您在提交到 Store 和运行 WACK 时遇到的失败是什么?您提到了“性能启动错误”。如果您未通过性能测试,请查看本文以获取帮助提示。一些例子:

  • 尽可能在本地打包内容(或缓存它),这样您就不必在启动期间从网络中提取资源。
  • 加载并仅在启动时执行您需要的操作。您可以在后台或实际需要时异步加载其他数据并执行其他工作。
  • 在挂起时保存数据时使用“脏位”,因此您只保存已更改的数据。(与其在数据未更改的情况下重新序列化您的应用程序的状态,不如创建一个布尔标志变量(或“脏位”)来表示您的数据已被修改,并且仅在数据发生更改时重新序列化。)
  • 如果您使用 JavaScript 进行开发,请使用字节码缓存,因此每个 JS 文件都会创建一次字节码,而不是每次应用程序启动时都创建。要启用此功能,请确保所有 JavaScript 文件都使用字节顺序标记 (BOM) 进行 UTF8 编码,并且在 HTML 起始页的根目录中静态引用。

如果这不是 WACK 和您的商店认证失败的错误,请查看此博客文章及其链接到的相关博客文章,以查看您的失败是否已涵盖其中。

其次,将代码与 Windows 应用商店中的保留名称相关联的问题:

同样在我创建包登录后,我的应用程序包名称和 appmanifest 上的提供程序字段也发生了变化。

这种行为是预期的。当您将您的应用程序包与 Windows 应用商店关联时,它将更改“程序包名称”和您的 appxmanifest 中的发布者。不过没关系!“包名称”正是 Windows 应用商店用作应用包的内部标识符的名称,而“包显示名称”(位于 appxmanifest 中的正下方)是最终用户将看到的内容。将“包显示名称”设置为您想要的。

于 2013-03-15T02:41:12.727 回答
1

我也遇到过这种情况,看起来 WACK 很困惑,一直在尝试验证错误的版本。以下步骤为我解决了这个问题:

  1. 从您的开发 PC 上卸载应用程序(如,转到开始页面,右键单击应用程序并选择卸载)。
  2. 重新启动开发 PC。
  3. 选择“本地机器”和“发布”。
  4. 开始调试等待它完全启动然后停止调试。

很确定实际上只需要其中的一两个步骤,但不确定哪些步骤。

于 2013-03-19T16:54:40.450 回答