I am new MEF and caliburn.micro and am trying to implement a framework for an application based on the Hello.Screens application but split up into modules ( with workspace in each separate xap file)
I have having issues with the fact that the
batch.AddExportedValue<Func<CustomerViewModel>>(() => container.GetExportedValue<CustomerViewModel>());
code in the bootstrapper runs before the CustomerViewModel is added to the Catalog.
I know I need to manually add the xaps to the catalog. But I can't for the life of me work out how to do it.
There seems to be no examples anywhere of how to make this work. Which leads me to think I am missing something obvious.
If someone can point me in the right direction I would be very grateful