'c#: How to popup uwp project in winform

I want to popup a UWP project when I click a button in a Winform project
I tried to pop up WPF, but it didn't work in UWP. In WinForm I can't add a reference to the UWP project, so I don't know what to do. The amount of information on UWP is small, so it is difficult to search.

How to popup UWP in Winform?



Solution 1:[1]

If you want to launch a UWP app from a WinForms app, you will need to register a Protocol for your UWP app first. It will be used as a URI scheme name for your UWP app. Then you could call the Launcher.LaunchUriAsync Method in your WinForms app to launch the UWP app.

You could also refer to Nico's reply here: How to launch UWP app from windows forms using C#

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Roy Li - MSFT