Skip to content

Feature/upgrade oxyplot.skiasharp#2161

Open
AndreCL wants to merge 6 commits intooxyplot:developfrom
AndreCL:feature/upgrade-oxyplot.skiasharp
Open

Feature/upgrade oxyplot.skiasharp#2161
AndreCL wants to merge 6 commits intooxyplot:developfrom
AndreCL:feature/upgrade-oxyplot.skiasharp

Conversation

@AndreCL
Copy link
Copy Markdown

@AndreCL AndreCL commented Apr 9, 2026

Fixes # .
The goal was to upgrade some nuget packages in Oxyplot.Skiasharp that had some problems.
#2160
And packages with vulnerabilities

For that purpose:

  1. Add target framework .NET 10
  2. Remove tests target framework .NET 6 (out of support and not compatible with some packages)
  3. Upgrade nuget packages

Hoping it can be used for a needed new release of Oxyplot.Skiasharp nuget

Checklist

  • I have included examples or tests <- Not needed more tests, just upgrade of nugets and change in target frameworks. Running old tests is good.
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • Upgrade nuget Oxyplot.Skiasharp
  • Target .NET 10 as well Oxyplot.Skiasharp
  • Future proof Oxyplot.Skiasharp

@oxyplot/admins

Copy link
Copy Markdown
Contributor

@VisualMelon VisualMelon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this. I'm hoping to find the time and energy soon to deal with this sort of thing, so feel free to @ me directly if I'm slow to respond, but it's going to take time for me to review everything and work out how nuget works again etc. etc.

<PropertyGroup>
<TargetFrameworks>net462;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>net462;net8.0;net10.0</TargetFrameworks>
<AllowMissingPrunePackageData>true</AllowMissingPrunePackageData>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know what this is about?

Copy link
Copy Markdown
Author

@AndreCL AndreCL Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AllowMissingPrunePackageData suppresses errors when NuGet's package pruning data is unavailable for one or more target frameworks.
Since .NET 9, NuGet introduced package pruning (trims transitive package dependencies based on a framework's built-in packages list). When a target framework (net462 and net6.0) don't have that pruning data available, the restore process would fail. Setting this to true so NuGet just skip pruning for those frameworks.

Copy link
Copy Markdown
Author

@AndreCL AndreCL Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this line when net462 goes out of support in January 2027, so after that maybe february or something, we can remove net462 and remove that line

Comment thread Source/OxyPlot.SkiaSharp.Tests/OxyPlot.SkiaSharp.Tests.csproj Outdated
@AndreCL
Copy link
Copy Markdown
Author

AndreCL commented Apr 15, 2026

@VisualMelon I went through your comments, posted responses and made the necessary changes

@AndreCL
Copy link
Copy Markdown
Author

AndreCL commented Apr 20, 2026

@VisualMelon any new comments to this?
All the best,
Andrecl

@AndreCL
Copy link
Copy Markdown
Author

AndreCL commented Apr 23, 2026

@VisualMelon how likely is it this will be merged in and we can have a new release of oxyplot.skiasharp before mid-may?
Google play will block my updates from then, so if it is not possible with the timeframe I will have to find alternative solutions.

All the best,
Andrecl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants