an issue with mef navigation sample

Topics: Prism v4 - Silverlight 4
Oct 14, 2010 at 6:10 PM


 I'm new to Silverlight and today I played with the RegionNavigation.Silverlight  sample.

I tried to build the same from scratch but unfortunately got "Microsoft.Practices.Prism.Modularity.ModuleTypeLoadingException : Failed to load type for module XXX". I'm not sure if it's not my typo mistake but this exception said „If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies." BTW, I did it and also checked the same for Microsoft.Practices.Prism because in the quick start ist's the case but got the same exception...

May be anybody came across a similar issue so he/she can share insights?

My solution could be downloaded from here :








Oct 14, 2010 at 9:19 PM

Hi Boris,

Nice to see that you started using the Prism Navigation Quickstart for Silverlight. The error that you are experiencing is because you need to set the Navigation.Web project as startup project. 

I think that you can find interesting the following forum threads:

Hope this helps.

Fernando Antivero