Question

one of the promises of Windows 8.1 is the possibility of multiple instance of Windows Store Apps.

But I'm not finding how to activate this.

I've found the element of the app manifest

http://msdn.microsoft.com/en-us/library/windows/apps/dn423281.aspx

But I don't know what to add in the ?? values:

<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
  <Extensions>
    <Extension Category="windows.activatableClass.outOfProcessServer">
      <OutOfProcessServer ServerName="??">
        <Path>??</Path>
        <Instancing>multipleInstances</Instancing>
        <ActivatableClass ActivatableClassId="MyApp.App"/>
      </OutOfProcessServer>
    </Extension>
  </Extensions>
</Package>

Could you help me to activate multiple instances of my application?

Thank you a lot!

Was it helpful?

Solution

Each app can have a single instance but multiple views - each view runs in its own thread. Here is an example on MSDN. I wrote an article about how I added multiple views to an app.

OTHER TIPS

Right click on your project and select unload project. Right click on your project and select edit .csproj On the XML view find <ProjectGuid> tag. Generate a new GUID and replace it. Right click on your project reload it.

Go to Package.appxmanifest and change Application tab Display name Visual assets Short name Packaging Package name

Then create the app package and then install it via powershell.

Each time you need to deploy a new instance of the same app, do above.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top