When I try to Open an WPF app from my UWP App, it says it will need an app to launch the target. What do I need to do fix the following error?
My Windows 10 machine in LTSB Version and VS 2015 is my development environment.
When I try to Open an WPF app from my UWP App, it says it will need an app to launch the target. What do I need to do fix the following error?
My Windows 10 machine in LTSB Version and VS 2015 is my development environment.
To launch an app using custom URI scheme, you first have to register the app as the URI handler in Windows Registry. This is a bit tedious, but you can see the complete samples on MSDN.
If your WPF app has an installer, you can safely add the registry entries as part of the installation process. The app can also read the URI and parse the passed values as necessary.
The alternative would be to use Windows Runtime Brokered Components and call the .NET Framework's Process.Start method. This however results in more work and it is better to avoid in case you can implement the URI activation.