询问者
手动创建应用程序时,Package/Identity/ @Name 这个Name的字如何确定?

问题
-
目前的项目需要,我在手动生成metro style app 的安装包,在打包之前,我需要先配置应用清单,在设置Package/Identity/ @Name 属性时遇到困难,按照官方的文档的解释:“Describes the contents of the package. The Name attribute is ase-sensitive,A string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters",如果创建应用时,应用的DisplayName是"xyz中国梦"这样的字符串,则VS2012会自动解截取"xyz"出来,作为Package/Identity/
@Name,问题是我的应用的DisplayName经常是全中文的名称,如果用VS2012来创建一个全中文DisplayName的应用,Package/Identity/
@Name会暂时是一个guid,当和商店关联时,商店会根据我的中文名生成一个数字加字母的名称,我想知道这个名字的生成规则,就是怎么把全中文的字符串转换为一个数字加字母的字符串的?非常期待能获得任何的指点。
全部回复
-
你好,
我会让其他工程师来帮你解答这个问题。
Jesse Jiang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
非常感谢您的回复。
这个重命名的逻辑应该是server端,不知道能否咨询一下商店server端的支持,而且重命名后可能保存在了server端数据库中吧?
通过VS创建一个包,项目中会多一个Package.StoreAssociation.xml,其中有一段是:
<ProductReservedInfo>
<MainPackageIdentityName>platomix.36518F909B5F5</MainPackageIdentityName>
<ReservedNames>
<ReservedName>武夷山风景区</ReservedName>
</ReservedNames>
</ProductReservedInfo>估计自己生成这么一个xml文件也没啥用。