Monday, July 09, 2012

Think having Icon and File Associations in a ClickOnce deployed app is hard? It used to be in the "old days," but not now...

LearnWPF - Adding an Icon and File Association to WPF Clickonce Applications

Although Clickonce applications originally did not have support for file associations, recent releases of the .NET framework and WPF have allowed Clickonce applications to be associated with a file extension, and for your Clickonce application icon to become the icon for that file in the windows shell.


This post reminded me of how this used to be kind of a pain, creating a file association for ClickOnce apps. I think I've still got some code in an app or two that does this manually. If we ever rev that app, I'm going to have to update it to use this method (as I love deleting code... :)


Related Past Post XRef:
Easier ClickOnce File Extension Associations (until VS2008 SP1 Ships)
Finally a Supported Method to Associate a File Extension to a ClickOnce Application

No comments: