From 676606c2dd36af08b4f1851744dcb682ec3c703a Mon Sep 17 00:00:00 2001 From: Michael Thyregod <2386496+michaelthyregod@users.noreply.github.com> Date: Sun, 8 Nov 2026 16:50:22 +0100 Subject: [PATCH 1/2] Update to AngleSharp 1.10.0 and mark the library trim and Native AOT compatible - AngleSharp 1.8.6 -> 1.10.0; the tests use AngleSharp.Xml 1.3.0 - IsAotCompatible on the .NET 8+ targets turns on the trim, single-file and AOT analyzers: no warnings on any target, and a Native AOT publish of an app using SelectNodes and WithXPath is warning-free - every target uses the SDK's own ILLink.Tasks, as in AngleSharp.Xml and AngleSharp.Css, so the package isn't restored in two versions --- .../AngleSharp.XPath.Tests.csproj | 2 +- src/AngleSharp.XPath/AngleSharp.XPath.csproj | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj b/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj index 5943690..dca7ab3 100644 --- a/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj +++ b/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj @@ -4,7 +4,7 @@ false - + diff --git a/src/AngleSharp.XPath/AngleSharp.XPath.csproj b/src/AngleSharp.XPath/AngleSharp.XPath.csproj index 8ac96e7..68a2f22 100644 --- a/src/AngleSharp.XPath/AngleSharp.XPath.csproj +++ b/src/AngleSharp.XPath/AngleSharp.XPath.csproj @@ -23,8 +23,23 @@ default + + true + + + + + + + - + From 25e8bf835d4be88e1f29a1ce16612a45330749df Mon Sep 17 00:00:00 2001 From: Michael Thyregod <2386496+michaelthyregod@users.noreply.github.com> Date: Thu, 12 Nov 2026 04:27:19 +0100 Subject: [PATCH 2/2] Update to AngleSharp 1.10.2 --- src/AngleSharp.XPath/AngleSharp.XPath.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AngleSharp.XPath/AngleSharp.XPath.csproj b/src/AngleSharp.XPath/AngleSharp.XPath.csproj index 68a2f22..fe97e74 100644 --- a/src/AngleSharp.XPath/AngleSharp.XPath.csproj +++ b/src/AngleSharp.XPath/AngleSharp.XPath.csproj @@ -39,7 +39,7 @@ - +