Windows Phone 8.1错误的包号 [英] Windows Phone 8.1 Incorrect Package Number

查看:64
本文介绍了Windows Phone 8.1错误的包号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题已被问过几次,但我找不到这个问题的明确答案(或MSFT网站的链接解释了这种行为)

This question has been asked a couple times, but I could not find a definitive answer to this problem (or a link to MSFT site that explains this behavior)

我为我的App创建了一个包,我设置了"Generate App Bundle"。始终选项,因为我拥有不同屏幕尺寸和区域设置的资源。即使我将应用版本设置为1.2.0.0,当我将包上传到商店时,它会显示一个时间戳
来代替版本:

When I create a package for my App I set "Generate App Bundle" option to Always as I have assets for different screen sizes and locales. Even though I set the App Version to 1.2.0.0, when I upload the package to the store it shows a time stamp in place of the version:

此版本实际上位于生成的包中。如果您解压缩Package并转到AppxMetadata \ AppxBundleManifest.xml,您将在文件中看到此版本:

This version is actually in the generated package. If you unzip the Package and go to AppxMetadata\AppxBundleManifest.xml, you will see this version in the file:

<Bundle xmlns="http://schemas.microsoft.com/appx/2013/bundle" SchemaVersion="2.0">
	<Identity Name="myName" Publisher="CN=myGuid Version="2015.223.555.3882"/>
	<Packages>
		<Package Type="application" Version="1.2.0.0" Architecture="neutral" FileName="myApp.WindowsPhone_1.2.0.0_AnyCPU.appx" Offset="72" Size="4215351">
			<Resources>
				<Resource Language="EN-US"/>
				<Resource Scale="240"/>
			</Resources>
		</Package>
		<Package Type="resource" Version="1.2.0.0" ResourceId="split.scale-100" FileName="myApp.WindowsPhone_1.2.0.0_scale-100.appx" Offset="4225726" Size="515008">
			<Resources>
				<Resource Scale="100"/>
			</Resources>
		</Package>
		<Package Type="resource" Version="1.2.0.0" ResourceId="split.scale-140" FileName="myApp.WindowsPhone_1.2.0.0_scale-140.appx" Offset="4740833" Size="837105">
			<Resources>
				<Resource Scale="140"/>
			</Resources>
		</Package>
	</Packages>
</Bundle>

以防万一,我试图手动修改版本,但是,包已签名且手动更改后未通过验证。 

Just in case, I tried to modify the version manually, however, the package is signed and does not pass validation after manual changes. 

我不希望用户将此2015.223.555.3882视为我的应用程序的版本。

I don't want users to see this 2015.223.555.3882 as a version for my App.




是否有解决方法?

这是预期的还是这个错误?

Is this expected or is this a bug?

如果这是预期的,那么我的App版本是什么? 1.2.0.0或2015.223.555.3882?

If this is expected, what is my App version then? 1.2.0.0 or 2015.223.555.3882?

我是否应该绕过使用捆绑包的想法并使用选项"从不"?

Should I bypass the idea of using bundles and use the option "Never"?




谢谢!

推荐答案

您好CompaNova,

Hi CompaNova,

您是否有针对该问题的解决方案?我现在有两个应用程序。

do you have a solution for that problem? I have it now in two apps.


这篇关于Windows Phone 8.1错误的包号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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