Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

CS0121 :: Why the method call is ambigous between identical methods/namespaces and signatures? .NET 8 + CommunityToolkit

$
0
0

The error is being detected between two identical signatures :

enter image description here

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

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>