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.

image..."

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:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...