AppxManifest 文件未正确生成 [英] AppxManifest file not being generated correctly

查看:22
本文介绍了AppxManifest 文件未正确生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 Visual Studio 2015 工具来创建 Apache Cordova 项目.但是,在尝试将我的应用程序包上传到 Windows 开发人员中心时,出现以下错误:

I've been using the Visual Studio 2015 tools to create an Apache Cordova project. However, on attempting to upload my app package to the Windows Dev Center, I get this error:

3201:包中指定的发布者显示名称 $username$与出版商名称 Ciaran 不匹配,该名称与开发者帐号.

3201: The publisher display name, $username$, specified in the package doesn’t match the publisher name, Ciaran, that’s associated with the developer account.

在检查构建我的应用程序时自动生成的源 .appxmanifest 文件后,我发现它是用占位符变量(如 $username$)生成的,而不是我的实际用户名.我已经使用了Associate App with the Store"选项,它报告成功,尽管这似乎对生成的 appxmanifest 文件、构建应用程序或创建应用程序包文件没有任何影响.

Upon examination of the source .appxmanifest file that gets generated automatically when building my application, I've found that it gets generated with placeholder variables like $username$ in place of my actual username. I've already used the 'Associate App with the Store' option and it reports success, although this doesn't seem to have any effect on the generated appxmanifest files, nor when building the application nor when creating the app package file.

我已经尝试就这个问题联系 Microsoft 支持,但到目前为止,他们只是链接到我的 App Manifest 文件中的文档,这对我来说似乎没有用,因为 Apache Cordova 项目似乎没有给我任何控制应用程序清单文件.如果我尝试手动更改它,它只会在构建应用程序时再次被覆盖.

I already tried contact Microsoft Support about this issue, but so far they are just linking to me documentation on the App Manifest file, which doesn't seem useful to me because the Apache Cordova project doesn't seem to give me any control over the App Manifest file. If I try to change it manually, it just gets overwritten again when the application is built.

我尝试重新创建项目,并尝试从 Windows Dev 服务器取消和删除应用程序提交,然后重新尝试所有内容,但我仍然遇到同样的问题.

I've tried re-creating the project and I've tried cancelling and deleting the app submission from the Windows Dev servers and trying everything all over again, but I still run into this same issue.

有什么想法吗?

更新:我就此问题联系了 Microsoft 支持,但我被告知支持团队不提供对 Apache Cordova 项目的支持.此外,我被告知不允许从 Visual Studio 2015 测试版提交应用程序,只能通过 Visual Studio 2015 零售版提交.

UPDATE: I contacted Microsoft support on this issue, however I was told that the support team do not provide support for Apache Cordova projects. Additionally, I was told that submitting apps from the beta version of Visual Studio 2015 is not permitted, that submissions are only possible through the retail version of Visual Studio 2015.

推荐答案

作为一种解决方法,您可以使用本机项目来创建 appx 包.

As a workaround you can use native project to create appx package.

使用 windows 原生项目创建 appx 包的步骤:

Steps to create appx package using windows native project:

  1. 本机项目位于 bld\Debug\platforms\windows 下,它是作为构建过程的一部分创建的.
  2. 打开 CordovaApp.sln
  3. 打开创建应用程序包向导并按照向导创建应用程序包

  1. 从包创建完成页面上显示的输出位置获取包.

这篇关于AppxManifest 文件未正确生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆