Test communications between UWP and WPF by AppService.
Launcher.LaunchUriAsync method (except overload which takes ValueSet) works on WPF but Launcher.LaunchUriForResultsAsync method seems to always throw InvalidOperationException if called on WPF.
Both ComApp.Uwp
and ComApp.Wpf
are packaged in ComApp
packaging project.
- Build and start
ComApp
. It will install both apps. - Start
ComApp.Uwp
. Hit Launch WPF to startComApp.Wpf
. - Send the messages to each other.
ComApp.Uwp2
and ComApp.Wpf2
are independent apps.
- Build and start
ComApp.Uwp2
. It will install this app. - Build and start
ComApp.Wpf2
. It will find the installedComApp.Uwp2
and fill FamilyName. Hit Launch UWP to startComApp.Uwp2
. - Send the messages to each other.