uno icon indicating copy to clipboard operation
uno copied to clipboard

Release 5.4.5 does not play nice with ScottPlot

Open ArchieCoder opened this issue 1 year ago • 2 comments

Adding the nuget of ScottPlot requires bumping the WinAppSDKVersion. However, this leads to a crash at startup https://github.com/ScottPlot/ScottPlot/issues/4258

UnoAppScottPlot545.zip

Jerome gave me tips to downgrade some part of Uno, but I'm getting compilation errors.

Someone has this suggestion https://github.com/ScottPlot/ScottPlot/issues/4273#issuecomment-2359903404

If you know how to modify the Uno project, I would appreciate.

ArchieCoder avatar Oct 01 '24 15:10 ArchieCoder

The best options is to wait for the updated SkiaSharp release, when https://github.com/mono/SkiaSharp/issues/2999 will be fixed.

Otherwise, downgrading WinUI can work as well, using:

<PropertyGroup>
    <WinAppSdkVersion>xxx</WinAppSdkVersion>
</PropertyGroup>

jeromelaban avatar Oct 01 '24 16:10 jeromelaban

This is not that easy because MVVM Toolkit requires: 10.0.22621.38

ScottPlot requires at max: 10.0.22621.34

However, we are not releasing in the next few weeks, I can stay with 5.4.0-dev.220 for some time.

PS: Good idea about the Uno Health Status.

ArchieCoder avatar Oct 02 '24 19:10 ArchieCoder

SkiaSharp 2.88.9-preview.2.2 fixes this issue, setting the SkiaSharpVersion property in the csproj will allow for the upgrade to happen.

jeromelaban avatar Oct 25 '24 01:10 jeromelaban

@jeromelaban Big thank you to you and Matthew Leibowitz (can't find the tag)

ArchieCoder avatar Oct 25 '24 01:10 ArchieCoder