At first glance it seems that you have several copies of AutoPopulateExportedViewsBehavior in memory and MEF can’t decide which one to use.
If you have an Infrastructure project with the behavior inside, which you reference among your other projects, make sure you have CopyLocal=false set on the project reference and on Prism & MEF assemblies too.
If you want to use the AutoPopulateExportedViews behavior, check out Prism’s StockTrader Reference Implementation.
They are using a very nice architecture we tried to follow.
You can view it by running the “Desktop & Silverlight - Open RI - StockTrader Reference Implementation.bat” file in Prism’s root folder. Their help describes the views/region registration process too.
Also, check out our LOB Chronicles series, especially posts #7 and #8. Evan has described our approach on views and regions there.
Please contact us if there are any more problems.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>