You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you try to invoke something on the UI thread before the application has started, it will throw a PlatformNotSupportedException when starting the application. The action is successfully invoked.
To Reproduce
Simply call Dispatcher.UIThread.Invoke before starting the application. Here's example code:
Describe the bug
When you try to invoke something on the UI thread before the application has started, it will throw a
PlatformNotSupportedException
when starting the application. The action is successfully invoked.To Reproduce
Simply call
Dispatcher.UIThread.Invoke
before starting the application. Here's example code:Expected behavior
I would expect one of two things to happen:
Invoke()
should throw before the app has startedStartWithClassicDesktopLifetime()
should not throw aPlatformNotSupportedException
in this caseAvalonia version
11.1.0-rc1
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: