在同一操作系统实例中安装 2 个版本的相同 Windows 10 通用应用程序 [英] Install 2 versions of same Windows 10 Universal App in the same OS instance

查看:67
本文介绍了在同一操作系统实例中安装 2 个版本的相同 Windows 10 通用应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发 Windows 10 通用应用.目前,应用代码有 2 个分支,MAIN 和 DEV.我们希望能够同时在同一个操作系统实例上安装(并运行)这两个版本.

We are developing a Windows 10 Universal app. Currently, there are 2 branches of the app code, MAIN and DEV. We would like to be able to install (and run) both builds on the same OS instance at the same time.

目前,除了为每个应用构建使用单独的虚拟机之外,我们没有看到任何其他方法,但这不是我们的偏好.

Right now, we do not see any other way of doing this than having a separate VM for each app build, but this is not our preference.

有没有人有过这种挑战的经验,有没有人知道从技术的角度来看这是否可能?

Does anyone have any experience with this type of challenge, and does anyone know if this is even possible from technology standpoint?

推荐答案

如果您希望将它们安装在同一台计算机上,则每个包必须在 package.appxmanifest.xml 中列出一个不同的 PFN(包系列名称).

Each package must have a distinct PFN (Package Family Name) listed in the package.appxmanifest.xml if you want them to be installed on the same computer.

无法旁加载同一个包的多个版本.

There's no way to sideload multiple versions of the same package.

因此,为每个分支使用不同的 PFN(可能最简单,如果从您的构建系统完成),或者探索您的 VM 选项.

So, use different PFNs for each branch (probably easiest, if done from your build system), or explore your VM options.

这篇关于在同一操作系统实例中安装 2 个版本的相同 Windows 10 通用应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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