MEF Second Time Load Module

May 2, 2013 at 3:52 PM
I have an issue using Prism and Mef in silverlight , I have a module which contains one view.
So when I click on a button in the shell page , I navigate to a view that defines a region which load the module in code behind.

For the first time all works fine, and the module was downloaded correctly in the client side, when I try to access to it for the second time an exception is generated ,
So I want to know how to activate a module which I has already downloaded it

May 2, 2013 at 9:36 PM

It could be useful to know what exception you are receiving in order to have a better understanding of the error you are experiencing.

Also, if I have understood correctly, you want to initialize the module again? If so, in Prism it's not possible (or recommended) to load and initialize a module more than once. Is there any logic in the initialization of the module that you need to execute several times?


Damian Cherubini