I have two export classes, that are located in separated assemblies.
When using [ImportMany]
, an exception during instantiating one exporter (in my case it is DB connection error that are thrown in constructor) of many leads to having a null set of [ImportMany]
store.
I am expecting that there would be just one, correct instantiated, export in [ImportMany]
(another one is crashed when trying to activate by MEF).
Is there any way to tune such behavior? Or any ways to load exporters one by one?
Thanks in advance, guys!