unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.82k stars 710 forks source link

WindowsRuntimeSystemExtensions does not support CoreDispatcher provided IAsyncAction #4266

Closed jeromelaban closed 2 years ago

jeromelaban commented 3 years ago

Current behavior

This line fails because WindowsRuntimeSystemExtensions.AsTask() does not recognize the IAsyncAction type:

https://github.com/xamarin/Essentials/blob/fe78dad8e2b0d78b7ba3ee5460862e1dbb2ed994/Xamarin.Essentials/MainThread/MainThread.uwp.cs#L38

Environment

Nuget Package:

Nuget Package Version(s):

Affected platform(s):

IDE:

Relevant plugins:

Anything else we need to know?

jeromelaban commented 2 years ago

Fixed in Uno 4.0