Upgrading from CAG WPF 1.0 To Prism v4

Topics: Prism v4 - WPF 4
Dec 8, 2011 at 2:01 PM

I've been trying to upgrade our CAG WPF1.0 to Prism 4 and I've encountered this problem.

It is not recognizing the WeakEventHandlerManager - during my upgrade I am relying heavily on this document and followed it religiously but I maybe missing something since this WeakEventHandlerManager  is missing.


Dec 8, 2011 at 8:52 PM

After further investigation, WeakEventHandlerManager  is actually in Prism.DLL but made it as internal class. It would be nice to know the reason for this change.


Dec 12, 2011 at 4:23 PM
Edited Dec 12, 2011 at 5:11 PM


Based on my understanding, in Prism v4 the subscription and publication of events using weak references are usually done through the Event Aggregation service.

You can find more information about the Event Aggregation service in the following chapter of the Prism documentation:

Also, there is an existing work item in the issue tracker (in which you can vote) regarding this subject:


Damian Cherubini