In a new post on the Windows Dev Center, Microsoft explains on how developers can customize their apps for multi-instance support. “Prior to Windows 10, version 1803, only one instance of a UWP app could be running at a time. Now, a UWP app can opt-in to support multiple instances. If an instance of a multi-instance UWP app is running, and a subsequent activation request comes through, the platform will not activate the existing instance. Instead, it will create a new instance, running in a separate process, the company explains.
With Windows 10 version 1803, your UWP app can now opt-in to to support multiple instances. You can decide if a new instance of your app is launched, or an existing instance activated. https://t.co/BCkcxIX4XC pic.twitter.com/wWZWjamxot — Windows Dev Docs (@WindowsDocs) February 22, 2018 Microsoft has already supported multi-instances for its own UWP apps, including Calculator and OneNote for some time. This customization will offer developers flexibility to choose between an active and existing instance of an app, or launching a new one. Microsoft also highlighted that there will be no restrictions on the number of active instances of an app and will work as different processes, which means that if one of the instances crash, the others will continue to work without getting affected. Multi-instance support will be offered as an opt-in feature for developers, which means they will require to make some changes to their apps in order to support it. You can check out Microsoft’s complete documentation for UWP console apps here. Source: Neowin