Runtime error: Module TypeLoadingException was unhandled by user code

I tried to run RegionNavigation in the Quickstarts from Drop 8, when I started to run the app, got following runtime error: Failed to load type for module RegionNavigation.Calendar. Error was: An exception occurred during a WebClient request.. It seems
that there is problem during loading "Calendar", actually, any module can not be loaded (for example, I only define one module in ModulesCatalog.xaml, then load it, the same error still there), I could not figure out what could be wrong. I must miss
some critical stuff. Could someone give your insight suggestions? Thanks lot!

This might be related to it is necessary to set the RegionNavigation.Web project as startup project. You could check this information in the readme file (see
Navigation Quickstart section) of the lastest drop of Prism.

Hi,
This might be related to it is necessary to set the RegionNavigation.Web project as startup project. You could check this information in the readme file (see
Navigation Quickstart section) of the lastest drop of Prism.
Please let me know if this help.
Fernando Antivero http://blogs.southworks.net/fantivero

This is certainly strange, I faced with the same situation and found no issues by performing this configuration. I would recommend you start this Quickstart from scratch and set only the RegionNavigation.Web project as startup.

Is there any message in your output window?

If you continue experiencing this, could you send this quickstart? So in case that we confirm this as an issue, I could create a work-item for this.

I re-check the issue(s) and find something which seem related with the reference of "Micorsoft.practices.Prism.MefExtensions". I am quite confused by the phenomena, I describe as follow, hope to get some of your insight suggestions.

Here are the processes I conducted, hope they are helpful to you understanding my issue, please let me know what step(s) I did was (were) wrong or you have some restriction by referencing Prism library:

1. Download Drop 8.
2. Run Desktop & Silverlight - Open Prism Library.bat. Successfully compile all projects.
3. Extract comonents DLL from different folders to form a new library folder, say "MyPrismLibrary", example, copy the new generated "Microsoft.Practices.Prism.MefExtensions.dll" to "MyPrismLibrary", etc.
4. Go to Quickstarts - Navigation - Open RegionNavigation.Silverlight solution
5. Go to RegionNavigation project - go to reference - remove Microsoft.practices.Prism.MefExtensions - ADD this DLL from new generated "MyPrismLibrary"
6. Run application. The I got following errors. Note the error is random, one could show this (see attach Figure 1), another could show this (see attach Figure 2).
7. Then I remove this reference again, add ORIGINAL reference from LIB folder. Error not gone, still there.
8. If I un-zip a brand-new drop 8, go to Navigation folder to run the application, everything is fine. The important point is that this setting now is exactly the same as above step #7.

Hi,
This is certainly strange, I faced with the same situation and found no issues by performing this change. I would recommend you start this Quickstart from scratch and set only the RegionNavigation.Web project as startup.

Is there any message in your output window?

If you continue experiencing this, could you send this quickstart? So in case that we confirm this as an issue, I could create a work-item for this.