question

villagra avatar image
0 Votes"
villagra asked ·

[UWP] Unable to launch apps with desktop4:SupportsMultipleInstances="true" on xbox

Hi
We have an app that supports multiple instances on desktop and now we're working on a xbox client, which fails to launch if we have in the manifest the multipleinstances property:

desktop4:SupportsMultipleInstances="true"

If we remove that, the app launches correctly. Sounds like a bug in xbox....

Here is a repo project to reproduce the issue:

https://github.com/villagra/UWPMultipleInstancesBug

Any ideas or workarounds?
Thank you

windows-uwp
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered ·

Hello,


Welcome to Microsoft Q&A!

This is not a bug. According to the document-Create a multi-instance Universal Windows App, it mentions that Multi-instancing is supported by UWP apps that target desktop and Internet of Things (IoT) projects. Xbox is not supported for multi-instance UWP apps. If your app only targets Xbox devices, you might need to remove the namespace prefix desktop4 to run the app in Xbox correctly.


Thank you.



· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We know that multi-instancing is not supported by xbox. But xbox should just ignore this desktop4:SupportsMultipleInstances property and launch normally. Otherwise it messes up the whole packaging of the app. The bug is that xbox is handling this desktop parameter when it should be ignoring it. We want to keep having the same package to target xbox & desktop, with desktop supporting multiple instances.

Thank you


0 Votes 0 · ·

I understand your feelings about this. I'll try to report your suggestion to the team via our internal channel. But currently, the workaround for your scenario is that you might need to package one app for desktop and other devices except for Xbox and package another one app which removes the desktop parameter for Xbox

0 Votes 0 · ·
JarosawKowalewski avatar image
0 Votes"
JarosawKowalewski answered ·

I have the same problem - after upgrading XBox to OS Version 10.0.19041.1927 our applications stopped working - also purchased ones. Customers are still writing to me about this.
I am asking for a quick solution to this problem!

Thank you,
Kiczmaker

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.