performance issue with large project

Sep 26, 2011 at 9:54 AM


I try to use the cinch framework in a large project with many dlls. There is only one dll where all VM are located, but it seems when a view tries to discover its view model, it iterates through all dlls in the bin directory? At least the first load of my form takes about 20 seconds longer than successive calls.

Is there a way to tell MEF to lookup only one specific assembly for "Export" attributes?

Sep 26, 2011 at 2:43 PM

As far as I know (and this is really a question for Marlon as he is MeffedMVVM man), what happens is that Meffed looks for ALL assemblies that have a referenceAssembly which uses MeffedMVVM Dlls. This could be why its slow on very large project.

You will need to check this with Marlon though.

You may need to have some sort of splash screen (we do that too, as does PRISM) until all parts are loaded.