No design-time IEventAggregator(Prism) injected

Jun 25, 2012 at 8:57 AM

Hi,

I've a problem with using MEFedMVVM together with Prism in the designer. I've a view model that has a dependency on Prism's IEventAggregator and another service of my own. At runtime everything seems to work alright, but in the designer, my view model doesn't get instantiated. If I remove the dependency on IEventAggregator, everything works again. I've followd the isntructions on http://marlongrech.wordpress.com/2011/01/03/mefedmvvm-with-prism-4 and http://mefedmvvm.codeplex.com/workitem/15391. I also tried to find a solution on the web, but without luck.

What am I doing wrong?

Thanks in advance for your help.

Merijn