Skip to content

Update repository .NET SDK to 10.0.400 - #4884

Merged
mattleibow merged 4 commits into
mainfrom
mattleibow-update-dotnet-sdk
Aug 28, 2026
Merged

mattleibow merged 4 commits into
mainfrom
mattleibow-update-dotnet-sdk

Conversation

@mattleibow

@mattleibow mattleibow commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Description

Updates the repository SDK, CI bootstrap version, native Docker installers, pinned SDK container images, and integration/release-test defaults to .NET SDK 10.0.400. This moves the build to the latest supported servicing release, including the security fixes in that SDK.

WinUI intentionally uses .NET SDK 10.0.111, the latest 1xx SDK compatible with the Visual Studio MSBuild 17.x C++/WinRT projection. WinUI jobs install 10.0.111 side-by-side with the repository-wide 10.0.400 SDK.

The workload set intentionally remains at 10.0.202: its Apple workloads require Xcode 26.3, which is available on the pinned macOS 15 agents, while the 10.0.4xx workload sets require unavailable Xcode 26.6. Contributor documentation now points to global.json and the central CI variables instead of duplicating transient SDK versions.

Related issues

Related to Azure DevOps PR 64514.

Required skia PR

None.

Areas affected

  • Managed API (binding/)
  • Native / C API (externals/skia/src/c, include/c)
  • Generated P/Invoke bindings
  • Native dependency or Skia update (libpng, HarfBuzz, FreeType, zlib, milestone bump, …)
  • Views & integrations (MAUI, Uno, WPF, WinUI, Blazor, …)
  • Rendering output / visual behavior
  • Performance
  • Tests
  • Build, packaging, or CI
  • Documentation or samples

Changes

None — build/tooling-only; no public API or observable behavior change.

Testing

  • Built binding/SkiaSharp/SkiaSharp.csproj with SDK 10.0.400.
  • Ran all 34 release-testing script tests.
  • Verified the 10.0.400 SDK artifacts and pinned MCR image tags used by this repository are published.
  • Verified SDK 10.0.111 is published and compatible with VS MSBuild 17.x.
  • Verified workload set 10.0.202 installs under SDK 10.0.400 and matches the CI Xcode 26.3 toolchain.
  • Full platform validation runs in PR CI.

Checklist

  • Tests added or updated (integration and release-testing SDK defaults updated)
  • Changes above lists all public API and behavioral changes (or "None.")
  • New/changed public API? N/A — no public API changes
  • Native change? N/A — no native/C API or Skia submodule changes

Align the repository SDK, CI variables, native installers, Docker images, and integration-test defaults with .NET 10.0.400.\n\nKeep WinUI on 10.0.111 because VS MSBuild 17.x cannot load newer feature bands; WinUI jobs install it alongside 10.0.400.\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: d06c73b2-8bc8-47a9-91fd-a0455dd0eb9b
@github-actions

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

Do not run these scripts without first reviewing the code in this PR.

Step 1 — Download the packages

bash / macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4884

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4884"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-4884/packages --name skiasharp-pr-4884
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-4884

@github-actions

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Site
🔗 View Staging Docs
🔗 View Staging Gallery (Blazor)
🔗 View Staging Gallery (Uno Platform)
🔗 View Staging SkiaFiddle

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

@github-actions

github-actions Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

📊 SkiaSharp benchmarks — PR #4884

⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS

Informational only — this never blocks the PR. 🟢 faster / less allocation · 🔴 slower / more allocation; moves under 5% are hidden as noise.

⏱️ Times are raw BenchmarkDotNet means, and the ⭐ PR and baseline legs run on separate CI runners, so microbenchmarks can swing run-to-run — treat small time deltas as noise. Allocations are deterministic and the reliable signal. The interactive perf-dashboard (linked below) applies smoothing for the trend view.

Highlights

⏱️ Time — 🔴 43 slower · 🟢 15 faster

  • 🔴 PathBoundsBenchmark.TightBounds(Points: 1024) · Windows · 15.53 µs → 21.71 µs (+40%)
  • 🔴 MatrixMapPointsBenchmark.MapPoints(Points: 4096) · macOS · 1.75 µs → 2.44 µs (+40%)
  • 🔴 RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) · Windows · 97.90 µs → 134.54 µs (+37%)
  • 🔴 MatrixMapPointsBenchmark.MapPoints(Points: 256) · Windows · 166.1 ns → 220.7 ns (+33%)
  • 🔴 MatrixMapPointsBenchmark.MapVector(Points: 256) · macOS · 2.47 µs → 3.22 µs (+31%)
  • …and 53 more (see details below)
Full per-OS benchmark deltas

Linux

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.47)

Benchmark baseline this PR Δ
MatrixMapPointsBenchmark.MapPoints(Points: 256) 223.9 ns 276.3 ns 🔴 +23%
PathBoundsBenchmark.TightBounds(Points: 1024) 10.90 µs 12.82 µs 🔴 +18%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 97.59 µs 111.09 µs 🔴 +14%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 2.79 µs 3.16 µs 🔴 +13%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 249.13 µs 275.03 µs 🔴 +10%

Windows

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.47)

Benchmark baseline this PR Δ
PathBoundsBenchmark.TightBounds(Points: 1024) 15.53 µs 21.71 µs 🔴 +40%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 97.90 µs 134.54 µs 🔴 +37%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 166.1 ns 220.7 ns 🔴 +33%
PathBoundsBenchmark.TightBounds(Points: 64) 1.51 µs 1.94 µs 🔴 +29%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 8.65 µs 11.08 µs 🔴 +28%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 248.48 µs 313.13 µs 🔴 +26%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 120.38 µs 149.42 µs 🔴 +24%
MatrixMapPointsBenchmark.MapVector(Points: 256) 7.53 µs 9.33 µs 🔴 +24%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 115.28 µs 141.08 µs 🔴 +22%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 1.23 ms 1.50 ms 🔴 +22%
MatrixOpsBenchmark.Invert(Count: 4096) 131.39 µs 160.63 µs 🔴 +22%
MatrixOpsBenchmark.Concat(Count: 4096) 226.30 µs 275.76 µs 🔴 +22%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 143.11 µs 173.90 µs 🔴 +22%
MatrixMapPointsBenchmark.MapRect(Points: 256) 7.31 µs 8.77 µs 🔴 +20%
ColorParseBenchmark.Parse(Iterations: 1000) 74.85 µs 87.50 µs 🔴 +17%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 333.70 µs 383.66 µs 🔴 +15%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 4.84 µs 5.56 µs 🔴 +15%
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 77.50 µs 88.55 µs 🔴 +14%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 2.54 ms 2.89 ms 🔴 +14%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 2.40 µs 2.71 µs 🔴 +13%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 2.87 ms 3.25 ms 🔴 +13%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 10.15 ms 11.41 ms 🔴 +12%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 912.92 µs 1.02 ms 🔴 +12%
RuntimeEffectShaderBenchmark.DrawFrame 1.12 ms 1.26 ms 🔴 +12%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 734.87 µs 821.97 µs 🔴 +12%
…and 8 more

macOS

⏱️ Time (vs 🌙 nightly 4.152.0-nightly.47)

Benchmark baseline this PR Δ
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 1.75 µs 2.44 µs 🔴 +40%
MatrixMapPointsBenchmark.MapVector(Points: 256) 2.47 µs 3.22 µs 🔴 +31%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 1.10 ms 778.43 µs 🟢 -29%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 2.97 ms 2.18 ms 🟢 -27%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 737.83 µs 560.57 µs 🟢 -24%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 6.37 ms 5.14 ms 🟢 -19%
MatrixOpsBenchmark.Invert(Count: 4096) 71.90 µs 60.07 µs 🟢 -16%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 6.72 µs 7.69 µs 🔴 +14%
ColorMathBenchmark.ToColor(Colors: 4096) 20.63 µs 17.69 µs 🟢 -14%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 1.62 ms 1.39 ms 🟢 -14%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 311.57 µs 270.16 µs 🟢 -13%
SceneRenderBenchmark.RenderFrame(Complexity: 1) 1.47 ms 1.31 ms 🟢 -11%
MatrixMapPointsBenchmark.MapRect(Points: 256) 3.28 µs 2.96 µs 🟢 -10%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 1.25 µs 1.14 µs 🟢 -9%
RuntimeEffectShaderBenchmark.DrawFrame 611.60 µs 564.54 µs 🟢 -8%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 153.4 ns 142.0 ns 🟢 -7%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 163.34 µs 151.28 µs 🟢 -7%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 55.12 µs 51.32 µs 🟢 -7%
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 19.76 µs 21.05 µs 🔴 +7%
CanvasDrawBenchmark.Draw(Shapes: 512) 12.51 ms 13.25 ms 🔴 +6%

📈 Full interactive perf-dashboard & run details →

Correct the remaining stale .NET 8 references and document why the 10.0.202 workload set intentionally remains cross-band with SDK 10.0.400 for Xcode 26.3 compatibility.\n\nCo-authored-by: Copilot App <[email protected]>\nCopilot-Session: d06c73b2-8bc8-47a9-91fd-a0455dd0eb9b
@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

📦 Artifact size report

Packages from this PR (build 1572959) vs the latest nightly baseline 4.152.0-nightly.47 (observed 2026-08-28).

Total .nupkg size: 569.6 MB → 569.2 MB (−500.8 KB, -0.1%)

Packages

⚠️ marks growth over 500.0 KB or 2%. Changes under 50.0 KB are treated as noise.

Package baseline this PR Δ Δ%
SkiaSharp.NativeAssets.WinUI 109.1 MB 108.4 MB 🟢 −651.8 KB -0.6%
SkiaSharp.NativeAssets.WebAssembly 69.7 MB 69.7 MB 🔴 +81.7 KB +0.1%

+39 package(s) unchanged (< 50.0 KB).

Per-file changes

SkiaSharp.NativeAssets.WinUI

File Size
runtimes/win-arm64/native/libGLESv2.pdb 64.5 MB → 64.4 MB (🟢 −128.0 KB)
runtimes/win-x64/native/libGLESv2.pdb 66.6 MB → 66.5 MB (🟢 −128.0 KB)
runtimes/win-x86/native/libGLESv2.pdb 67.3 MB → 67.2 MB (🟢 −96.0 KB)

Informational only — this never blocks the PR. Native binaries are labelled by os/arch.

Copilot AI added 2 commits August 28, 2026 19:27
Use repository pins and reporter target frameworks as sources of truth instead of duplicating transient SDK versions in general guidance.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: d06c73b2-8bc8-47a9-91fd-a0455dd0eb9b
Restore issue-fix and issue-repro guidance so their planned rework remains separate from this SDK alignment.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: d06c73b2-8bc8-47a9-91fd-a0455dd0eb9b
@mattleibow mattleibow changed the title Update .NET SDK to 10.0.400 Update repository .NET SDK to 10.0.400 Aug 28, 2026
@mattleibow
mattleibow merged commit f74bd9a into main Aug 28, 2026
119 checks passed
@mattleibow
mattleibow deleted the mattleibow-update-dotnet-sdk branch August 28, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants