I’m attempting to inherit from the WeakEventManager class but the namespace can’t be found in my project. I’m not sure what’s going on as I have the using System.Windows; directive. I can load a project that uses this class successfully I just can’t seem to implement it on my own. The project is .Net 4.5 and I’m unsure as to what’s happening.
Any help is appreciated. Thanks in advanced.
The class lives in the
System.Windowsnamespace, but is defined in theWindowsBaseassembly. Make sure you have imported theWindowsBaseassembly and added it as a reference to your project.