Skip to content

Target .NET 10 instead of .NET 8 - #296

Merged
eXpl0it3r merged 3 commits into
masterfrom
target-net10
Nov 23, 2026
Merged

eXpl0it3r merged 3 commits into
masterfrom
target-net10

Conversation

@eXpl0it3r

Copy link
Copy Markdown
Collaborator

Description

.NET 8 and .NET 9 reached their end of support on November 10th, 2026, as such the .NET targets move to .NET 10, the current LTS. netstandard2.0 and net462 stay as they are, so .NET Framework and other runtimes can still use the packages.

  • net8.0 becomes net10.0 for the library, the adapters, demos, tests and tools
  • CI builds with the .NET 10 and .NET 11 SDKs, .NET 8 and .NET 9 SDKs can't build net10.0
  • The README lists .NET 10 as the minimum besides .NET Standard 2.0

Targeting .NET 10 brought up two more things:

  • NuGet now audits transitive packages, and PDFsharp 6.2.4 depends on System.Security.Cryptography.Pkcs 8.0.1, which has a high and a moderate severity advisory. HtmlRenderer.PdfSharp references 10.0.15 directly, which also reaches the apps using it.
  • .NET 10 dropped the length limit of Uri, so the image regression test's Uri.TryCreate now succeeds for the 219K character data: URI of "Image in css content" and swapped in its placeholder image. data: URIs are loaded by the renderer itself, so the test doesn't replace them anymore. "Images" and "Fixed position" show their real images now instead of the placeholder, their baselines are updated.

The targeting part of #246 is covered by this, while keeping netstandard2.0.

How to test this PR?

CI should succeed.

@eXpl0it3r
eXpl0it3r merged commit 7ac1a75 into master Nov 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant