-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Hey,
I'm trying to update my project to Avalonia 11, but I had some problems with the Oxyplot.Avalonia nuget package.
On the oxyplot-avalonia main page on github there is an instruction for using oxyplot with Avalonia 11 which I think is wrong, it says AvaloniaEdit in StyleInclude (see screenshot below)
I've read the oxyplot.Avalonia examples and they use the code below to include the style:
StyleInclude Source="avares://OxyPlot.Avalonia/Themes/Default.axaml"/>
But in my project I get the following exception in this code: No precompiled XAML found for avares://OxyPlot.Avalonia/Themes/Default.axaml (baseUri: avares://Nimloth/App.axaml), make sure to specify x:Class and include your XAML file as AvaloniaResource
I'm using the latest version of the oxyplot.avalonia nuget package, 2.1.0, and Avalonia 11.0.6