MEF - Rohland's blog

Rohland's blog

Tech rocks!

Browse by Tags

All Tags » MEF (RSS)
Sorry, but there are no more tags available to filter with.
MEF Preview 5
Just upgraded to MEF preview 5 and thought I would just post a gotcha that had me puzzled for a few minutes. After upgrading none of my exported parts were being picked up after composing an instance of the composition container class. I was exporting my types as per the example below: 1 [ Export ( "DataTransformation.Task" )] 2 public class Task : DataTransformationTask 3 { 4 // .... 5 } With MEF preview 5 you have to explicitly pass the type you are exporting in the Export attribute constructor...
Posted: Apr 23 2009, 01:40 PM by Rohland | with 2 comment(s)
Filed under: