Click here to Skip to main content
15,917,645 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying using file association to open a desktop app from modern app. I followed all the steps correctly and am able to open the .try files with updater.exe through windows explorer. But when I try to do the same thing in my modern app programmatically, using

bool success = await Launcher.LaunchFileAsync(file);
I am getting the return value as false all the time. This works if I use DisplayApplicationPicker. What is going wrong here?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900