❔ Avalonia UI: Application.Current is missing

Hey, I mean, my question is self-explanatory I guess. Somehow, when typing Application, I can only select the package by Avalonia UI itself, and so on I can't execute Application.Current.Shutdown()..... May someone help me?
2 Replies
ChucklesTheBeard
Try .Close()ing the window instead. Avalonia is cross platform, Application.Current.Shutdown() is windows / WPF only I think?
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.