ViewModel Resolution

Nov 22, 2010 at 11:25 AM

Awesome framework, thank you very much.

I have some Views and ViewModels in a seperate assembly that is dynamically loaded.  I pass the assembly into CinchBootStrapper and the main app is able to resolve and create the View without any problems.  However when the View tries to create the ViewModel I get an MEFedMVVM error "No valid exports were found that match the contraint...".  The ViewModel is correctly exported, and everything works find if I move the viewmodel back into the main application assembly.  How can I tell Cinch to include the viewmodels in the dynamically loaded assembly?



Dec 3, 2010 at 5:20 AM


This sounds like more of a question for Marlon as he is the main driving force behind the Mef part. You can ask him on his codeplex site :

I am a little suspicious of what exactly you mean by "Dynamically loaded" what via Refection?