2

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? enter image description here

My Windows 10 machine in LTSB Version and VS 2015 is my development environment.

1

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.