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
Describe the bug
LiveCharts2 will crash when used with avalonia preview 6
To Reproduce
Steps to reproduce the behavior:
Use avalonia preview 6 with LiveCharts2
Observe crash
Expected behavior
Working as intended
Additional context
Stacktrace:
System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart' threw an exception.
Source=LiveChartsCore.SkiaSharpView.Avalonia
StackTrace:
at LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart.!XamlIlPopulateTrampoline(CartesianChart )
at LiveChartsCore.SkiaSharpView.Avalonia.CartesianChart..ctor()
at GUI.Views.Controls.Cards.MonitorCard.!XamlIlPopulate(IServiceProvider , MonitorCard ) in C:\Users\Mingu\Documents\Projects\SW\GUI\Views/Controls/Cards/MonitorCard.axaml:line 35
at GUI.Views.Controls.Cards.MonitorCard.!XamlIlPopulateTrampoline(MonitorCard )
at GUI.Views.Controls.Cards.MonitorCard.InitializeComponent(Boolean loadXaml) in C:\Users\Mingu\Documents\Projects\SW\GUI\Avalonia.Generators\Avalonia.Generators.NameGenerator.AvaloniaNameSourceGenerator\GUI.Views.Controls.Cards.MonitorCard.g.cs:line 25
at GUI.Views.Controls.Cards.MonitorCard..ctor(ISensor bindingSensor) in C:\Users\Mingu\Documents\Projects\SW\GUI\Views\Controls\Cards\MonitorCard.axaml.cs:line 88
at GUI.Views.Pages.MonitorPage.AddCards(IList sensorIds) in C:\Users\Mingu\Documents\Projects\SW\GUI\Views\Pages\MonitorPage.axaml.cs:line 47
at GUI.Views.Pages.MonitorPage.<>c__DisplayClass3_0.<SensorMonitorsOnCollectionChanged>b__0() in C:\Users\Mingu\Documents\Projects\SW\GUI\Views\Pages\MonitorPage.axaml.cs:line 63
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at GUI.Program.Main(String[] args) in C:\Users\Mingu\Documents\Projects\SW\GUI\Program.cs:line 26
This exception was originally thrown at this call stack:
Inner Exception 1:
MissingMethodException: Method not found: 'Avalonia.StyledProperty`1<!!1> Avalonia.AvaloniaProperty.Register(System.String, !!1, Boolean, Avalonia.Data.BindingMode, System.Func`2<!!1,Boolean>, System.Func`3<Avalonia.AvaloniaObject,!!1,!!1>, System.Action`2<Avalonia.AvaloniaObject,Boolean>)'.
The text was updated successfully, but these errors were encountered:
Describe the bug
LiveCharts2 will crash when used with avalonia preview 6
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Working as intended
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: