How to install two versions of my metro application?

I have a project that has various branches of the same C # / xaml metro application. I have a tablet on which I test applications, and I usually deploy the application on it to check my latest code. The problem that arises is, I often have several branches of the same program. I would like to be able to execute both of them (compare and match) on a tablet computer. However, when I go to install the application, it says that it is already installed, and the installation fails. What parameters do I need to change in my branch so that windows 8 treat the branch as a separate application?

+5
source share
3 answers

I would try to create two projects with the same name, but in different parent folders and diff in project directories. There should be an identifier that you can find in this way.

* EDIT (adding an answer) Comparing csproj files, I see various project GUIDs:

<ProjectGuid>{2BC8E996-5E25-4714-9327-930553131C04}</ProjectGuid>
<ProjectGuid>{DFC50C25-399E-437A-B641-E48FEA776EFE}</ProjectGuid>

But another difference is what different applications in packages should do. In Package.appxmanifest, I also get different GUIDs:

<Identity Name="3b69e4ca-4072-4ec6-8790-4090bf72a8c3"
<Identity Name="2a943b24-68d2-4480-a475-1d606e546672"

Changing this guide should help.

+8
source

You should be able to add the branch identifier to the package name, and then it will be another package.

This is not suitable for final deployment, but should work if you have a developer license installed.

So,

  • company.applicationname

against

  • company.applicationname-branch1

  • company.applicationname-branch2

, , .

+1

> , 8 ?

AppxManifest.xml . XPath-talk, , per/Package/Identity [@Name], - .

[ + ; Name = X, Publisher = Y Name = X, Publisher = Z, ]

I believe that Visual Studio adds ".Debug" and ".Release" to the name if it controls the name, so you can use several F5 configurations. [This has its problems, for example. if you use notifications that must match the name ...]

0
source

All Articles