The error is being detected between two identical signatures :
I try to use this extnasion method from the Community Toolkit:
using Microsoft.UI.Dispatching;#if WINDOWSusing CommunityToolkit.WinUI;#endif#if WINDOWS dispatcherQueue.EnqueueAsync(() => _eventAggregator.GetEvent<AppEventEvent>().Publish(e), DispatcherQueuePriority.Normal);#endif