有关包/身份/名称的应用程序构建问题 [英] App Build Issue concerning Package/Identity/Name

查看:51
本文介绍了有关包/身份/名称的应用程序构建问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

指定的产品名称以数字开头,如果提供以下错误,则不会执行构建:


      D:\ionic\sample\platforms\windows\build\windows\debug\anycpu\win10 \ AppxManifest.xml:错误
APPX0501:验证错误。错误C00CE169:应用程序清单验证错误:应用程序清单必须是有效的
,因为模式:第34行,第18列,原因:'40174VendaettaSystems.NorthstarInfinite'违反了模式
约束'([A-Za- Z] [A-ZA-Z0-9] *)(\。[A-ZA-Z] [A-ZA-Z0-9] *)*"。值为
'40174VendaettaSystems.NorthstarInfinite'的属性"Id"无法解析。
[D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

如果App Identity或
包/身份/名称以字符开头。不幸的是,在Windows开发人员仪表板中,包/标识/名称必须是"40174VendaettaSystems.NorthstartInfinite。"


我在10月20日将错误放入Microsoft支持并且12月30日的回复与10月28日的回复完全相同。


如果有人有任何信息可以帮助我解决这个问题,我们将不胜感激。在此先感谢。



干杯,


wdj




JG4 - 仅限解决方案

解决方案

嗨JG4,


根据对于错误消息,< Application>中的ID似乎是以错误的格式编写的。 与包的标识不同,ID在< Application>中。是内部使用的东西。因此,您无需在ID中设置 所以
全球唯一名称(ID不需要与包的标识一致)。 有关详细信息,请参阅下面的文档。


包清单模式参考:应用程序

https: //msdn.microsoft.com/en-us/library/windows/apps/br211415.aspx




$








The assigned product name begins with a digit and the build will not execute providing the following error:

D:\ionic\sample\platforms\windows\build\windows\debug\anycpu\win10\AppxManifest.xml : error 
APPX0501: Validation error. error C00CE169: App manifest validation error: The app manifest must be valid 
as per schema: Line 34, Column 18, Reason: '40174VendaettaSystems.NorthstarInfinite' violates pattern 
constraint of '([A-Za-z][A-Za-z0-9]*)(\.[A-Za-z][A-Za-z0-9]*)*'. The attribute 'Id' with value 
'40174VendaettaSystems.NorthstarInfinite' failed to parse. 
[D:\ionic\sample\platforms\windows\CordovaApp.Windows10.jsproj].

The build succeeds if the App Identity or Package/Identity/Name starts with a character. Unfortunately, in the Windows Developer Dashboard, the Package/Identity/Name must be ""40174VendaettaSystems.NorthstartInfinite.

I put the error in with Microsoft support on October 20th and the response on December 30th was exactly the same as the response on October 28th.

If anyone has any information that can help me through this problem, it would be greatly appreciated. Thanks in advance.

Cheers,

wdj


JG4 - solutions only

解决方案

Hi JG4,

According to the error message, Id in <Application> seems to be written in wrong format. Different from packages's Identity, Id in <Application> is something to be used internally. Therefore you don't need to set a so globally unique name in the Id (Id is not required to coincide with package's Identity). See documentation below for details.

Package manifest schema reference : Application
https://msdn.microsoft.com/en-us/library/windows/apps/br211415.aspx








这篇关于有关包/身份/名称的应用程序构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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