Repository navigation
Align .NET SDK, workload, and container pins - #4842
Conversation
Move the repository and CI to .NET SDK 10.0.203 while retaining the Xcode 26.3-compatible 10.0.202 workload set. Pin SDK images and install arguments to reproducible published versions, and retain 10.0.108 side-by-side for WinUI C++/WinRT builds that use Visual Studio MSBuild 17.x. Co-authored-by: Copilot App <[email protected]> Copilot-Session: cd7c9145-4904-4cfe-b54f-4ebea94173eb
📦 Try the packages from this PRWarning 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 -- 4842PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4842"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4842/packages --name skiasharp-pr-4842More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4842 |
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
📊 SkiaSharp benchmarks — PR #4842⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 33 slower · 🟢 10 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
Keep sample builds and the generated Linux package-consumer test on moving .NET 10 SDK tags because their isolated Docker contexts do not include the repository global.json. Document the boundary so repository-mounted tooling remains pinned while downstream compatibility contexts track the latest servicing release. Co-authored-by: Copilot App <[email protected]> Copilot-Session: cd7c9145-4904-4cfe-b54f-4ebea94173eb
📦 Artifact size reportPackages from this PR (build Total Packages
+38 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.4 MB (🟢 −112.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.5 MB (🟢 −112.0 KB) |
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.2 MB (🟢 −96.0 KB) |
runtimes/win-x86/native/libEGL.pdb |
6.5 MB → 6.5 MB (🟢 −16.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Migrate CI to dnceng with Arcade shipping and transport (#4803) Context: #4775 Context: #4800 Context: #4801 Context: #4802 Context: #4838 Context: #4842 Context: #4846 Context: #4859 Context: https://dev.azure.com/dnceng/internal/_git/dotnet-SkiaSharp/pullrequest/63954 Context: https://dev.azure.com/dnceng/internal/_build/results?buildId=3057398 Replace the legacy DevDiv Native -> Managed -> Tests chain with repository-owned dnceng pipelines and a standard Arcade V3 package flow. Keep public validation unsigned, reserve protected identities for internal signing, scanning, BAR registration, and promotion, and leave the binding, native, and runtime product surface unchanged. ~~ Connected dnceng topology ~~ The split Native and Package definitions handed artifacts across independently numbered runs, which made source, package, and test provenance harder to keep connected. Make internal definition 1642 own Prepare, Native, and Package in one Build run, and make Tests 1630 consume the folder-qualified `\dotnet\skiasharp\skiasharp-package` resource. Trigger 1642 directly for `main` and `release/*` path changes, plus a daily main schedule, instead of waiting for completion of a separate Native pipeline. Remove the obsolete native-only and internal-complete YAML roots, and derive managed, test, and sample dependencies from the shared build/test pipeline role. Public definition 345 and downstream Tests 1630 keep those shared stages through the local output adapter; for public CI this avoids the inaccessible private 1ES template repository. Expansion guards require the internal project, a non-PR reason, and a non-PR ref before signing, compliance, or publishing stages can exist. ~~ dnceng execution policy ~~ Move the internal root from the DevDiv MicroBuild 1ES template to the released v1 1ES Official template, and move its Windows and Linux agents to NetCore1ESPool-Internal. Apple jobs remain on Microsoft-hosted macOS images. Armory, BinSkim, CredScan, ESLint, PoliCheck, and PSScriptAnalyzer are configured to break; CodeQL also runs on non-default branches. Network isolation remains in Audit while permanent mirrors and allowlisting are completed. The combined root carries forward the managed Apple macOS 15/Xcode 26.3 and native Apple macOS 14/Xcode 16.2 split. The repository remains on SDK 10.0.203 and workload set 10.0.202, but Visual Studio MSBuild 17.x cannot load .NET 10.0.2xx. Install `DOTNET_VERSION_WINUI` (10.0.108) side by side on the three WinUI C++/WinRT jobs. Build and merge the MSVC Win32 artifacts unconditionally, dropping the former `System.TeamProject == 'devdiv'` gate. ~~ Provider-neutral build identity ~~ Replace feature-name and loosely parsed downstream counters with Arcade's `yyyyMMdd.revision` OfficialBuildId, converted to the existing `short-date.revision` package suffix. Normalize GitHub and Azure Repos PR numbers, source commits, source branches, and repository URLs before packing; fail when required identity is absent or an inherited Build run name is malformed. PR builds use `pr.<number>`, scheduled builds use `nightly`, and ordinary builds retain their source-controlled label. A producing pipeline may select the `stable` sentinel only on an internal `release/*` branch; it clears the suffix to produce exact `X.Y.Z` packages. Downstream Tests inherit the selected Build run name, including an exact-release identity, rather than generating a second identity. Each run creates one transport alias family as well: PR aliases for PR validation and branch aliases otherwise. Remove commit aliases so one BAR cannot receive multiple versions of the same transport package ID. Package outputs are not cached because their versions and transport family depend on run identity, not only repository inputs. ~~ Deterministic Arcade package inputs ~~ Replace the separate normal and special packaging jobs, and the stable, preview, and symbol transport variants they produced, with one Cake graph in a single `package_windows` job. It publishes raw `nuget` and `nuget_special` artifacts plus prepared `arcade_shipping`, `arcade_nonshipping`, and `PdbArtifacts` inputs. Shipping contains product and explicit symbol packages; NonShipping contains the run's single `_NuGets`/`_NativeAssets*` transport family. `_NuGets` uses numbered dependency packages to keep each payload chunk near 200 MB. Arcade V3 expects `PdbArtifacts`, so provide real loose symbols rather than a permanent placeholder or manufactured fallback packages. For product packages without an explicit symbol package, extract implementation and runtime PDBs under package/version/TFM/RID paths. Exclude `ref/**`, reject ZIP paths that escape the package root, avoid loose-PDB duplication for packages with explicit symbols, and emit `.empty` only when no eligible PDB exists. Consume the Apple symbol packages introduced by #4846 instead of manufacturing fallback copies. The public PR downloaders now query definition 345 by exact PR merge ref, consume the canonical `nuget` artifact, exclude `.symbols.nupkg`, and use isolated temp directories. Documentation and sample generation select the single package family instead of assuming stable and preview packages coexist. The exact 3057398 artifact audit matched raw and prepared package payloads, contained 209 path-safe loose PDBs, and confirmed that the Package stage emitted only the five contract artifacts, with no `package_windows` artifact. ~~ Self-verifying build logic ~~ Build identity, API Scan input preparation, and Arcade asset assembly encode release constraints that would otherwise fail only in later or protected stages. Add dedicated suites for each and run them as pipeline gates rather than relying on YAML string checks or post-release inspection. Prepare runs `SetBuildVariables.Tests.ps1` and `PrepareApiScanInputs.Tests.ps1` before product stages, so identity failures and API Scan input drift are caught even when API Scan does not expand. Package runs `AssembleArcadeAssets.Tests.ps1` after packing against real ZIP fixtures, proving PDB extraction, `ref/**` exclusion, traversal rejection, explicit-symbol ownership, PR/branch transport selection, and `.empty` fallback on each run. ~~ Shipping-only signing ~~ Replace the legacy SignList and Arcade defaults with the explicit policy in `eng/Signing.props`. Any new signable payload must be added to one of its first-party, Mac developer, third-party, or skipped classifications for signing validation to succeed. First-party binaries use the repository's certificate mappings and skip the third-party copyright check because they intentionally lack Microsoft copyright metadata. Only prepared Shipping NuGets enter Arcade signing; product and explicit symbol packages are signed together. `eng/SignCheckExclusionsFile.txt` marks NonShipping transport `DO-NOT-SIGN, DO-NOT-UNPACK` and marks JavaScript and generated WebGPU payloads `DO-NOT-SIGN`; those payloads use `CertificateName=None` and remain authenticated by their signed NuGet container. `DO-NOT-SIGN` is fail-closed, so SignCheck fails if a listed file is ever signed. Main and release branches select real signing automatically. Other trusted internal branches test-sign unless `forceRealSigning` is requested, and forced BAR side effects additionally require `registerInBar`. Use standard Arcade SignTool and SignCheck validation rather than retaining the migration prototype's duplicate recursive verifier. ~~ API Scan input coverage ~~ Move API Scan into a repository-owned internal stage that downloads the current `nuget` and `native_msvc` artifacts, authenticates through the dedicated WIF connection, and runs in release mode. Package extraction preserves symbols and builds checked surrogates for Win32, NanoServer, and WinUI, including shipped ARM64 binaries that require API-compatible x64 MSVC inputs. Use the same HTTPS SymWeb symbol path in the scan task and generated surrogate configuration. Input preparation fails when packages, binaries, PDBs, surrogate files, or configured target matches are absent. Reporting, TSA upload, and PostAnalysis use Note-level API Scan policy; raw logs are published for audit. The stage runs when explicitly requested and on scheduled main builds, independently of BAR registration. ~~ BAR registration and promotion ~~ Generate one Arcade V3 manifest from signed Shipping and prepared NonShipping artifacts, with explicit symbol blobs and the standard PDB artifact alongside it. Protected registration is structurally limited to non-PR internal builds. Main and release branches register automatically; a forced feature-branch run must opt into both real signing and BAR registration. Use standard post-build validation with `publishAssetsImmediately: false` and `requireDefaultChannels: true`, so a missing Maestro mapping fails closed and Darc performs configured channel promotion only after asset publication finishes. NuGet.org publication remains a separate protected operation; #4859 carries the release-tooling adaptation to this BAR model. Exact Build 3057398 completed real signing, Note-level API Scan, BAR registration, asset validation, and Darc promotion. BAR 328638 reached General Testing with 41 shipping package assets, 22 non-shipping transport assets, 14 symbol blobs, and one manifest, with no recorded incoherencies or staleness. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
Merge main into release/4.152.0-rc.1 (#4875) Context: d93f0fa Changes: c7bcb4a...d93f0fa Context: #4803 Context: #4842 Context: #4846 Merge main through `d93f0fa` into the RC1 release branch, including the dnceng/Arcade migration, toolchain alignment, Apple symbol packaging, and the intervening main commits. Preserve `PREVIEW_LABEL: 'rc.1'`; the merged tree otherwise matches main. The normal merge retains the original commits and their authors. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
[CI] Backport Arcade release infrastructure to 4.151.x (#4863) Context: #4802 Context: 46ea724 Context: #4842 Context: 398bcdd Context: #4803 Context: 2dd5087 Context: #4846 Context: #4877 Context: 6386960 Context: #4859 Context: #4889 Context: #4883 Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1571474 Context: https://github.com/mono/SkiaSharp/actions/runs/32862258889 Context: https://github.com/mono/SkiaSharp/actions/runs/33122720179 Complete the 4.151.x release line's move from its legacy split pipelines to repository-owned dnceng pipelines and a standard Arcade V3 package flow. Keep public validation free of protected side effects while giving trusted internal release builds the signing, API Scan, BAR registration, and promotion inputs needed to produce 4.151.3. Preserve the branch's product, runtime, managed API, C API, native source, Skia submodule, preview-workload, Xcode, and test topology. Do not add the Apple symbol production from #4846, `SkiaSharp.Vulkan.Silk.NET`, new product or container families, generated bindings or documentation, or unrelated release automation. #4859 supplied historical compatibility constraints, but its manual release-skill design is superseded by #4889 and is not backported. This change does not register, promote, publish, or otherwise release the PR build. ~~ Connected dnceng release topology ~~ The old Native, Package, and Tests definitions exchanged independently numbered artifacts, which obscured source, package, and test provenance. Make the package root use `buildPipelineType: 'build'` so one Build owns Prepare, Native, and Package, and make the connected Tests definition consume the folder-qualified `\dotnet\skiasharp\skiasharp-package` resource. Use the same repository stage templates in public validation through the local 1ES output adapter. Expand signing, API Scan, and publishing stages only for non-PR builds in the internal project, so public and PR template expansion cannot acquire protected release side effects. Retain the branch's native-only pipeline role rather than importing the newer main-only topology wholesale. Trigger the Build directly for `main` and `release/*` path changes instead of waiting for a separate Native pipeline to finish. Keep the branch's `azure-pipelines-complete-internal.yml` and native-only root compatible with the shared stages because other historical entry points still consume them. ~~ dnceng execution policy ~~ The internal root still extended the DevDiv MicroBuild 1ES template and loaded shared stages from `DevDiv/Xamarin.yaml-templates`, neither of which is available to a dnceng-owned pipeline. Move it to the released `v1/1ES.Official.PipelineTemplate.yml` and remove that repository dependency. Configure Armory, BinSkim, CredScan, ESLint, PoliCheck, and PSScriptAnalyzer to break the build, and run CodeQL on non-default branches. Keep network isolation in Audit while permanent mirrors and allowlisting are completed; the policy is intentionally not presented as fully enforced. Build and merge the MSVC Win32 artifacts without the old `System.TeamProject == 'devdiv'` condition. That predicate cannot match in dnceng, and retaining it would remove the `native_msvc` input required by API Scan. ~~ Exact 4.151.3 build identity ~~ Feature names and loosely parsed downstream counters could assign different identities to producing and consuming runs. Derive the product build number from Arcade's `yyyyMMdd.revision` OfficialBuildId, normalize GitHub and Azure Repos source identity, and make Tests inherit the Build run name. PR builds use `pr.<number>`, schedules use `nightly`, and ordinary builds keep their configured preview label. Only an internal `release/*` producer may use the `stable` sentinel to clear the suffix and emit exact 4.151.3 packages. Emit `DOTNET_FINAL_VERSION_KIND=release` for that case and reject malformed or incomplete source identities instead of manufacturing a plausible version. Require exact Build run IDs when downloading pipeline artifacts and reject the mutable `latestFromBranch` mode. Shared package downloaders use the branch transport alias and no longer fall back to a commit alias, matching the one transport version registered for each package ID. Keep this historical branch fail-closed on its existing downloader shape rather than taking the broader dead-code removal still under review in #4883. The Prepare gate exercises GitHub and Azure Repos PRs, downstream run-name inheritance, exact releases, and malformed identities. Build 1571474 used the resulting `4.151.3-pr.4863.26427.5` identity. ~~ One package and transport family ~~ The historical graph packed stable and preview products separately and then created stable, preview, symbol, branch, and commit transport variants. Pack one coherent product family and create one PR transport family for PR validation or one branch transport family otherwise. Keep commit aliases out of NonShipping so BAR cannot receive multiple versions of the same transport package ID. Run normal and transport packing in one `package_windows` job. Publish the raw `nuget` and `nuget_special` artifacts beside deterministic `arcade_shipping`, `arcade_nonshipping`, and `PdbArtifacts` views. Remove the separate `nuget_preview` and `nuget_symbols` pipeline artifacts. Mark transport projects non-shipping and give `_NuGets`, `_NativeAssets`, and `_Dependencies` the Microsoft copyright, MIT expression, and project URL required by Arcade. Documentation and generated sample jobs now select the build's single package family instead of assuming stable and preview packages coexist. Package jobs no longer restore from the shared build cache because package versions and the transport family depend on run identity rather than repository inputs alone. Shared consumers resolve transport packages from the dnceng transport feed. ~~ Real loose PDB artifacts ~~ Arcade V3 requires a `PdbArtifacts` input, but cloning customer packages into manufactured fallback symbol packages would create false package identities. Keep existing explicit symbol packages in Shipping. For product packages without one, extract implementation and runtime PDBs under their original package, version, TFM, and RID paths. Skip `ref/**`, reject archive entries that escape the package extraction root, and avoid loose-PDB duplication when an explicit symbol package owns the symbols. Emit `.empty` only when no eligible PDB exists. A Package-stage gate exercises both transport families, explicit-symbol ownership, reference-symbol exclusion, empty output, and traversal rejection. Build 1571474 published byte-identical raw and prepared package sets and a path-safe `PdbArtifacts` payload containing only the intended loose PDBs. ~~ Explicit signing and BAR inputs ~~ Arcade's broad signing defaults do not describe SkiaSharp's mixed first-party, Mac developer, generated JavaScript, WebGPU, and transport payloads. Replace them with an explicit repository policy. Sign Shipping NuGets and their classified first-party contents, preserve Mac developer signing, and classify source payloads that must retain their existing bytes as `CertificateName=None`. Keep NonShipping transport packages unsigned and prevent SignCheck from unpacking them. `DO-NOT-SIGN` exclusions make validation fail if a transport or listed source payload is unexpectedly signed. Do not add `SkiaSharp.Vulkan.Silk.NET` to the policy because that package is absent from 4.151.x, and do not manufacture or consume the Apple symbol packages added by #4846. Retain the source contract's `scripts/infra/signing` cache-input category even though no such helper directory exists yet, so the cache configuration stays aligned with main without importing additional tooling. Generate the Arcade V3 manifest from signed Shipping and prepared NonShipping assets. Main and release branches select real signing and BAR publication; other trusted branches test-sign unless explicitly forced, and forced BAR side effects additionally require `registerInBar`. Post-build validation keeps `publishAssetsImmediately: false` and requires default channels before promotion. ~~ Fail-closed API Scan coverage ~~ The legacy inline scan extracted packages without proving that its binaries, PDBs, surrogates, or configured targets existed. Add a repository-owned stage that downloads the current `nuget` and `native_msvc` artifacts, activates the dedicated WIF identity, runs API Scan in release mode, and reports at Note severity. Prepare checked Win32, NanoServer, and WinUI mappings. Use x64 MSVC surrogates for Win32 and HarfBuzzSharp ARM64 targets, and staged x64 package binaries for WinUI ARM64 targets. Fail when packages, binaries, PDBs, surrogate files, or target matches are absent, and make PostAnalysis fail at Note severity. Run the focused preparation suite during Prepare so input drift fails before a protected scan stage is requested. ~~ Historical SDK and pipeline compatibility ~~ The repository's 10.0.108 SDK was too old for Arcade package download, while the branch's Apple and WinUI jobs could not simply adopt every newer tool. Move repository-owned builds and the existing checkout-consuming native containers to SDK 10.0.203 with `latestPatch` roll-forward. Pin workload set 10.0.202 for the branch's macOS 15 and Xcode 26.3 combination. Visual Studio MSBuild 17.x cannot load the 10.0.2xx SDK used by Cake and managed builds. Install the retained 10.0.108 SDK side by side for the WinUI and WinUI ANGLE jobs. Update only Dockerfiles already present and consumed on 4.151.x; do not import absent container families or main's later product and toolchain changes. ~~ Servicing-pool runtime prerequisites ~~ The branch still used Microsoft-hosted and `Maui-1ESPT` defaults, so it did not inherit Arcade's release-aware dnceng routing. Move the Windows and Linux defaults to `DncEngPublicBuildPool` or `DncEngInternalBuildPool`, which select servicing pools for `release/*`, while retaining queue-time object overrides and hosted Apple jobs. The lean public servicing Linux image exposed two assumptions hidden by the general pool. Managed Linux builds Android libraries but did not install the Android SDK because the bootstrapper installed it only on non-Linux agents. Provision the SDK, platform tools, build-tools 35.0.0 and 36.0.0, and configured API levels for every Android-installing agent, then pass `AndroidSdkDirectory` into Cake. Both Linux WASM jobs also assumed Chrome was preinstalled. Download the pinned Chrome package, verify its SHA-256, package name, version, and architecture, install it, and export `CHROME_PATH` before running product tests. Build 1571474 completed the public release topology on the final head, including managed Android and the WASM product-test paths. The artifact and test outputs demonstrated that the servicing images now provide the tools these branch-native jobs require. ~~ Tracking benchmark feed compatibility ~~ The nightly resolver selects versions from the dnceng EAP feed, but the nested tracking benchmark configuration still restored from the legacy Xamarin feed. The nightly benchmark paths in run 32862258889 therefore failed package restore before BenchmarkDotNet could run. Align the nested benchmark source with dnceng; do not change benchmark logic or product code. Current-head run 33122720179 confirmed that the selected nightly packages restore and the existing benchmark workflows run without changing benchmark or product behavior. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
Update .NET SDK and container pins to 10.0.400 (#4884) Context: https://github.com/dotnet/core/blob/main/release-notes/10.0/10.0.11/10.0.11.md Context: #4842 Context: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1572959 Adopt the .NET 10.0.11 security servicing release while preserving the toolchain exceptions established by #4842 for WinUI and Apple workloads. 10.0.11 shipped SDKs 10.0.400, 10.0.303, and 10.0.111; it shipped no 10.0.2xx SDK, and that band last shipped 10.0.204 in 10.0.8. ~~ Repository SDK alignment ~~ Move `global.json`, its `tools.dotnet` selector, and the central `DOTNET_VERSION` from 10.0.203 to SDK 10.0.400. Keep `latestPatch` roll-forward so resolution stays inside the selected feature band. Raise the integration-test and release-test SDK default from 10.0.100 to 10.0.400. Those harnesses generate temporary projects outside the checkout and write their own `global.json`, so they do not inherit the root pin. They retain `latestFeature` roll-forward and now require at least the repository's feature band instead of accepting any .NET 10 feature band. ~~ Repository-bound and consumer container roles ~~ Update the docs image, native Android, Linux, Tizen, and WASM SDK installs, CI container-test images, and `tests/Dockerfile.linux` to 10.0.400. Preserve the existing distro and OS suffixes: `-noble`, `-alpine3.23`, `-azurelinux3.0`, and `-nanoserver-ltsc2022`. Keep the isolated sample images and generated Linux package-consumer test on floating `10.0` tags. Their build contexts exclude the root `global.json`, so they intentionally exercise the latest .NET 10 servicing release. ~~ WinUI's MSBuild 17.x SDK ceiling ~~ WinUI C++/WinRT generation still runs through Visual Studio MSBuild 17.x, which cannot load SDK 10.0.2xx or newer. Move `native/winui/global.json` and `DOTNET_VERSION_WINUI` from 10.0.108 to 10.0.111, the 1xx SDK from the same 10.0.11 release, and retain the `additionalDotNetSdks` bootstrap that installs it beside the repository-wide 10.0.400 SDK. This keeps Cake and managed work on the current servicing SDK without forcing an unsupported feature band into the WinUI projection. Treat 10.0.111 as the latest 1xx servicing release rather than a terminal one; the 1xx band also shipped 10.0.109 and 10.0.110 in the two preceding releases, so re-check it during every SDK update. ~~ Apple workload and Xcode compatibility ~~ Keep `DOTNET_WORKLOAD_VERSION` at 10.0.202 even though the repository SDK moves to the 4xx feature band. Its Apple workloads require Xcode 26.3, which the pinned `macos-15` agents provide; the 10.0.4xx workload sets require Xcode 26.6, which those agents do not provide. Record that exception beside the variable and relax the upgrade checklist from requiring a workload set from the same feature band to allowing one to lag by whole feature bands when the Apple toolchain requires it. ~~ Durable SDK guidance ~~ Replace the `.NET 8 SDK` prerequisite in `CONTRIBUTING.md` and the `documentation/dev` build guides with a pointer to the root `global.json`. Rewrite the upgrade checklist to consult Arcade's current CLI requirement, the current SDK/MSBuild compatibility matrix, and installed workload manifests instead of hard-coding transient SDK, MSBuild, and platform minimum-version requirements. The `issue-fix` and `issue-repro` skill directories remain unchanged. Their planned rework will address their existing SDK-specific guidance separately from this repository SDK alignment. PR validation completed with 119 checks passed and no failures. Public Azure build 1572959 succeeded on `refs/pull/4884/merge` (`7abe53b7`) for head `17e6ef0340149c39d25a02c55bebed011acbadfe`. Co-authored-by: Matthew Leibowitz <[email protected]> Co-authored-by: Copilot App <[email protected]>
Description
Align the repository, CI, and repository-mounted .NET 10 build containers on SDK
10.0.203while retaining workload set10.0.202, which matches the existing macOS 15 / Xcode 26.3 managed Apple environment. Native and repository-mounted tooling images use exact published SDK versions; isolated sample builds and the generated Linux package-consumer test intentionally retain moving10.0tags so they exercise the latest servicing release without inheriting the repositoryglobal.json.The native WinUI and WinUI ANGLE jobs continue to install SDK
10.0.108side-by-side because their C++/WinRT projection uses Visual Studio MSBuild 17.x, which cannot load the .NET 10.0.2xx SDK. Preview SDK and workload values are unchanged.The .NET upgrade guide now records which SDK images and install arguments must stay synchronized, which consumer contexts intentionally float, and how to preserve distro suffixes and verify manifests.
Related issues
None.
Required skia PR
None.
Areas affected
binding/)externals/skia/src/c,include/c)Changes
None — infrastructure-only; no public API or product behavior changes.
Testing
10.0.203,10.0.203-noble,10.0.203-alpine3.23,10.0.203-azurelinux3.0, and10.0.203-nanoserver-ltsc2022.10.0.203Linux x64 and arm64 SDK artifacts used bydotnet-install.shexist.python3 scripts/infra/caching/repo-deps.py validatepassed with all tracked files covered.dotnet cake --target=externals-downloadcompleted.dotnet build binding/SkiaSharp/SkiaSharp.csprojpassed with zero warnings and errors.DuplicateStreamIsDisposed,StreamIsNotCollectedPrematurely, and theganesh-gl/DiagonalLinesgolden). CI will provide the authoritative clean-host result.Checklist
Changesabove lists all public API and behavioral changes (or "None.")mono/skiaPR linked above and bindings regenerated — not applicable; no native/C API changes