question-mark
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.

Support for Avalonia 0.10

See original GitHub issue

System.MissingMethodException: “Method not found: ‘Void Avalonia.Controls.Image.set_Source(Avalonia.Media.Imaging.IBitmap)’.” occured when I try to run application on Avalonia 10.0 instead 9.11.

Are there any plans to make the library compatible with the latest version of Avalonia?

The problem in AvaPlotBackend.cs.

public override void SetImagePlot(bool lowQuality)
{
    view.Find<Ava.Controls.Image>("imagePlot").Source = BmpImageFromBmp(plt.GetBitmap(true, lowQuality));
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
apkrymovcommented, Oct 1, 2020

Great solution! It really works. @Benny121221, @swharden thank you for your quick response 😀

1reaction
FoggyFindercommented, Oct 4, 2020

The project will not compile on Avalonia 0.10 with that line enabled. Why? I don’t know, I couldn’t find any changes to the relevant files that would break it.

It was moved into the separate package:

Avalonia.Diagnostics

You can find list of breaking changes here:

https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes#09---010

Read more comments on GitHub >

github_iconTop Results From Across the Web

Avalonia 0.10.0
Avalonia is a WPF/UWP-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems ...
Read more >
Upgrading from 0.10
Avalonia 11 introduces a number of breaking changes from 0.10. The following guide converse the most commonly-encountered changes and gives solutions for ...
Read more >
Roadmap (0.10) · Issue #2239 · AvaloniaUI/Avalonia
A way for controls to announce that they want text input, will be resolved by Input Method support; [DONE] XAML compilation to IL....
Read more >
r/dotnet - Avalonia 0.10.0 Release – A cross platform XAML ...
Have to say the rider support for Avalonia and XAML is first class, even the Visual Studio and msft platforms xaml is not...
Read more >
Avalonia UI (@AvaloniaUI) / X
Our biggest news is that we're introducing support for Avalonia! There will be more updates to come, but already there's a lot in...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found