Mar 27, 2012

MEF 2 Preview - Discovering exports from previous versions of MEF

comment on this

Anybody that's felt adventurous enough to try out a preview of the next version of MEF might have run into a problem: it only discovers exports built with the same version of MEF! This might not be a problem for you if you only have one or two projects in your solution. But what about external assembly dependencies? Even if you technically have the source for them in other projects/solutions, it can be a pain to go through them all and rebuild them against the new MEF assemblies. Plus, anybody wanting to use them against the built-in 4.0 MEF will be screwed, which necessitates forking the projects or something else. And what about those assemblies for which you can't build yourself?

Mar 3, 2012

Implementing “Don’t show this message again” Using the WPF Task Dialog Wrapper

comment on this

A common feature of Windows applications for many years has been the useful little “don’t she me this again”-style check boxes that may appear in a dialog box. The Task Dialog API directly supports this feature, too, and as such my WPF Task Dialog Wrapper exposes it as well. Today, I’ll show you how to easily leverage this in a realistic scenario. For more about the wrapper itself, see my article on .