John Skinner

John Skinner

  • NA
  • 7
  • 3.4k

Using MEF in a Windows Service

Nov 12 2015 3:21 AM
Hi,
 
I am trying to implement MEF in a Windows service but I am not having much luck doing it.
 
If I create a console application everything works OK but as soon as I copy the code to a service project it fails to import the plugin.
 
Does anyone have any example code of using MEF with a Windows service? I am using dotnet4
 
Thanks,
 
John