I would handle this by leveraging the fact that the bootstrapper has a public Container property on it. After calling Bootstrapper.Run in your App code behind, grab the Container ref and use it to inject (programmatically) an IEventAggregator ref into your App class to use when the unhandled exception event (or others) fire.
↧