❔ 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?
![](https://utfs.io/f/e0e08cc7-4da0-457e-a3e2-f8f20f51476c-1nq2cb.png)
2 Replies
Try
.Close()
ing the window instead.
Avalonia is cross platform, Application.Current.Shutdown() is windows / WPF only I think?Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.