This project has moved. For the latest updates, please go here.

ModuleDependency hard reference with a string

Jul 26, 2012 at 9:34 AM
Edited Jul 26, 2012 at 9:36 AM


In my MEF application I have module dependencies, but the ModuleDependency tag uses a string to reference another module. Is there a way of using it with a syntax that accepts a type, like:


Or any other ideas on how to do this type of injection or ensure that the dependent module is loaded? Wuold it be possible to include it in the next version of MEF? It would be great!!!

Thanks very much,


Jul 26, 2012 at 4:48 PM

Hi Pablo, thanks for getting in touch!

[ModuleDependency] is part of Prism, not MEF. This would be a great question for the Prism developers.



Jul 27, 2012 at 7:24 AM

Thanks Nick!

I will pass it to the Prism developers.