0
Reply

Using MEF in a Windows Service

John Skinner

John Skinner

Nov 12 2015 3:21 AM
635
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