Install 2 versions of same Windows 10 Universal App in the same OS instance

↘锁芯ラ 提交于 2019-12-20 01:13:17

问题


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?


回答1:


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.

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




回答2:


Right click on the project -> Store -> 'Associate app with the store', then associate your app wit ha new name. This will generate a new store key which recognizes your app uniquely. To distinguish apps, in the Package.appxmanifest file Change the 'Display Name' and 'Short Name'.



来源:https://stackoverflow.com/questions/40307788/install-2-versions-of-same-windows-10-universal-app-in-the-same-os-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!