1) With MEF, I compose my DLL
2) I work with my DLL
3) I recompose without this DLL
4) I want to delete it // => it doesn't work
How can I unload a dll in order to delete it after a MEF recomposition in which this dll is not composed ?
1) With MEF, I compose my DLL
2) I work with my DLL
3) I recompose without this DLL
4) I want to delete it // => it doesn't work
How can I unload a dll in order to delete it after a MEF recomposition in which this dll is not composed ?
Ok so how can I 'connect' an AppDomain to MEF composition ?
MEF doesnt provide infrastructure to do that, unfortunately. You'd have to bake your own.