生成后更改UWP App名称 [英] Change the UWP App name after build

查看:146
本文介绍了生成后更改UWP App名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的申请有问题。



Acutally ,我在tfs中的CD(持续部署)正在为同一个应用程序部署4个环境。目标是只有一个版本和4个版本(SDX,DEV,QUAL,PROD)。



构建之后,我们可以改变吗?将身份名称添加到应用程序的appxmanifest文件中,然后再次签名以便能够在同一台计算机上安装4环境应用程序?实际上,因为应用程序是一次构建的,所以4个环境中的包名称
是相同的,我们无法在同一台计算机上同时安装4个应用程序,因为它们具有相同的标识名称。



我可以更改版本,显示名称,但不能更改缩进名称。


您是否有在构建后更改发布商名称的解决方案,并使用makeappx再次签名?


很多。



非常,



JC 

解决方案

在构建之前最简单地设置它。您可以使用共享项目来保留所有实际代码,并使用不同的
单独列出清单
身份
和资产让你可以分开,然后分别建立四个应用程序分支。


如果你想构建它们一次然后之后编辑清单然后你实际上是从头开始重新启动包装过程。您可以解压缩应用,将清单编辑为新ID,然后按照手动应用包装上的文档重新打包并签名。


请参阅https: //docs.microsoft.com/en-us/windows/uwp/packaging/manual-packaging-root


Hi,

I have a problem with my application.

Acutally, my CD(Continuous deployment) in tfs is deploying 4 environments for the same app. The goal is to have just one build and 4 release (SDX,DEV,QUAL,PROD).

After the build, could we change the identity name into the appxmanifest file of the app and then sign it again to be able to install the 4 environments app in the same machine ? Actually, Because the app was build one time, the package family name will be the same for the 4 environments and we are not able to install the 4 applications in the same time on the same computer becausse they have the same Identity name.

I'm able to change the version, the display name but not the indentity name.

Do you have a solution to change the publisher name after the build and sign it again with makeappx?

Thx a lot.

Sincerly,

JC 

解决方案

It's easiest to set this all up before building. You can use shared projects to keep all of the actual code and separate out just the manifests with different identities and assets so you can tell them apart, then build the four app branches separately.

If you want to build them once and then edit the manifests afterwards then you're essentially restarting the packaging process from scratch. You can unpackage the app, edit the manifest to your new ID, and then follow the docs on manual app packaging to re-package and sign.

See  https://docs.microsoft.com/en-us/windows/uwp/packaging/manual-packaging-root


这篇关于生成后更改UWP App名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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