Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

How to make file extension association with my app?

$
0
0

Hi, guys! I am really need your help.
I try to associate a file extension with my C# application on mac, so a double click on a this file type in Finder will open my application.
I couldn't find any detailed explanation about how to do it, but after reading several discussions, I added the following info to my plist (see attachment).

After archiving and running the application, I could see that Finder shows my icon for "qxq" files,... however, double-click doesn't open my app.
(the standard "There is no application set to open this document..." appears)

I've even checked in CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister, and it seems like "qxq" was added there.

Where is my mistake?
Thank you!


Viewing all articles
Browse latest Browse all 1429

Trending Articles