Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GetMessageBoxStandardWindow error on Debian

See original GitHub issue

I tried to call a dialog with various parameters, with an icon, without an icon, and others, but I always get an error My current code:

                var exMessageBox = MessageBox.Avalonia.MessageBoxManager.GetMessageBoxStandardWindow(new MessageBox.Avalonia.DTO.MessageBoxStandardParams
                    ButtonDefinitions = ButtonEnum.Ok,
                    ContentTitle = "Error",
                    ContentMessage = ex.Message,
                    //Icon = Icon.Error,
                    Style = Style.MintLinux

Error [Binding] Error in binding to ‘Avalonia.Controls.Image’.‘IsVisible’: ‘Could not find a matching property accessor for ‘Icon’ on ‘MessageBox.Avalonia.ViewModels.MsBoxStandardViewModel’’ (Image #22478116)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

Vladimir-Strcommented, Aug 19, 2021

oops, it looks like I don’t have such a problem with mvp. I’ll try to solve it

Vladimir-Strcommented, Aug 19, 2021

Ooh, this error was caused by I use .Shutdown(); without awaiting exMessageBox.Show() like in WPF

Read more comments on GitHub >

github_iconTop Results From Across the Web

What should I do with the global exception? · Issue #5290
If you want to handle global errors, you can catch them in Program.Main method, log and close the app peacefully (restart or open...
Read more >
MessageBox.Avalonia 1.3.0
MessageBox.Avalonia. Messagebox for AvaloniaUI. alternate text is missing from this package README image. To start you should install MessageBox ...
Read more >
April 2021
GetMessageBoxStandardWindow ("My title", "My message"); await dialog. ... But after executing the command $ dotnet run, the exception error ...
Read more >
Upgraded to Bookworm, Received Error Message(s) about ...
I received the following error message(s): Errors were encountered while processing…
Read more >
NET的跨平台UI框架,能够支持在Windows、Linux、MacOS等操作系统中运行 ... 这应该是Avalonia的一个Bug,在Linux启动时,窗体位置计算的问题,最新 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found