Browse by Tags
All Tags »
MEF (
RSS)
Sorry, but there are no more tags available to filter with.
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...