You're freezing the concrete class EventAggregator
, but injecting the interface IEventAggregator
. They are two different types, so the IEventAggregator
instance you get isn't the frozen EventAggregator
.
[Frozen(As = typeof(IEventAggregator))]EventAggregator eventAggregator
should do the trick.