Import parts in imported part (order problem)

Dec 22, 2010 at 8:46 AM

Hi all!

I´m writing an App with a PlugIn-like Interface. The Main App loads all xap dynamically.

One of the PlugIns which is loaded needs some exports of the other loaded PlugIns. The Problem is the loading order. If the PlugIn which needs the other PlugIns is loaded first, everything works great. But If it is loaded e.g. as the last one, it cannot import the other PlugIns. How can I say "MEF, load this one first" or how can the PlugIn which imports the other ones, that there are some xap loaded?

Thanks all for your advices!