无法在 Windows Phone 商店中提交 XAP 文件

Can't submit XAP file in Windows Phone Store

我正在尝试在 Windows Phone 商店中提交新申请。我们决定开发一个 Windows Phone 8 Silverlight 应用程序来同时支持 WP 8.0 和 WP 8.1。

当我上传 XAP 文件时,出现只能上传 .appx 文件的错误。这是什么意思?

如果您开发 Windows 商店应用程序 (Windows 8/8.1) 并且据我所知还有通用应用程序,则会生成

.appx 文件。

看来你是为WindowsPhone开发的! 8/8.1。编译后得到的是.xap文件。

当您登录到您的开发者帐户 (https://dev.windows.com/en-us/dashboard) 时,您可以决定或询问您是要转到 "Windows Phone Store" 还是 "Windows Store" 仪表板。在您的情况下,您需要选择 "Windows Phone Store"

为了获得您的应用程序的 .xap 文件,您必须在 VS 中以发布模式 运行 它。在早期版本的 WP 中,您不需要 运行 Windows App Certification Kit,只需上传 xap 文件即可。但截至目前,您还必须为 Windows Phone 应用程序执行此操作,这会为您的应用程序创建 appx 包。

您也可以看到它的完成方式 here for the 8.1 version. Have a look at this one thread 以便根据您的版本找到打包要上传的应用程序的差异。