Repository navigation
Migrate from .NET 8 to .NET 10 - #3184
Merged
Eddy Nakamura (eddynaka) merged 2 commits intoNov 30, 2026
Merged
Conversation
Update Multitool, test targets, and CI to .NET 10. Align packaging and sample generation while retaining existing .NET Standard and .NET Framework targets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The migration spans runtime requirements and packaging across NuGet, npm, Windows/.NET Framework compatibility, and three CI environments, so produced packages and installation behavior still require human verification.
No open issues 🎉
What changed in this PR
Migrates the SARIF Multitool and associated test projects from .NET 8 to .NET 10 while retaining existing .NET Standard and .NET Framework targets. Packaging, sample generation, npm builds, conformance tests, and CI environments are updated for the new runtime.
Changes:
- Retargets the Multitool, test, functional-test, and end-to-end projects to
net10.0. - Updates build scripts, output paths, NuGet/npm packaging, and sample-generation tooling.
- Updates Azure DevOps, GitHub Actions, CodeQL, conformance tests, and release notes for the .NET 10 requirement.
| File | Description |
|---|---|
| src/Test.Utilities.Sarif/FileDiffingUnitTests.cs | Updates the documented test-output path to net10.0. |
| src/Test.UnitTests.WorkItems/Test.UnitTests.WorkItems.csproj | Retargets WorkItems tests to .NET 10 while retaining .NET Framework coverage. |
| src/Test.UnitTests.Sarif/Test.UnitTests.Sarif.csproj | Retargets SARIF unit tests to .NET 10. |
| src/Test.UnitTests.Sarif/Taxonomies/CweGeneratedSampleTests.cs | Updates Multitool lookup paths and output-layout documentation to .NET 10. |
| src/Test.UnitTests.Sarif.WorkItems/Test.UnitTests.Sarif.WorkItems.csproj | Retargets SARIF WorkItems tests to .NET 10 while retaining .NET Framework coverage. |
| src/Test.UnitTests.Sarif.Multitool/Test.UnitTests.Sarif.Multitool.csproj | Retargets Multitool unit tests to .NET 10. |
| src/Test.UnitTests.Sarif.Multitool.Library/Test.UnitTests.Sarif.Multitool.Library.csproj | Retargets Multitool library tests to .NET 10. |
| src/Test.UnitTests.Sarif.Multitool.Library/GroupingGeneratedSampleTests.cs | Updates generated-sample Multitool lookup paths to .NET 10. |
| src/Test.UnitTests.Sarif.Driver/Test.UnitTests.Sarif.Driver.csproj | Retargets driver tests to .NET 10. |
| src/Test.UnitTests.Sarif.Converters/Test.UnitTests.Sarif.Converters.csproj | Retargets converter tests to .NET 10. |
| src/Test.UnitTests.Sarif.Converters/AndroidStudioProblemTests.cs | Disambiguates the project shuffle helper from the newer framework API. |
| src/Test.FunctionalTests.Sarif/Test.FunctionalTests.Sarif.csproj | Retargets functional tests to .NET 10. |
| src/Test.FunctionalTests.Sarif/SarifValidatorTests.cs | Updates the test-data lookup path to the .NET 10 test output. |
| src/Test.FunctionalTests.Sarif/MultitoolCommandLineTests.cs | Updates Windows executable lookup paths to .NET 10. |
| src/Test.EndToEnd.Baselining/Test.EndToEnd.Baselining.csproj | Retargets baselining end-to-end tests to .NET 10. |
| src/Sarif/Taxonomies/CweGenerateSample.ps1 | Updates CWE sample generation to invoke the .NET 10 Multitool build. |
| src/Sarif.Multitool/Sarif.Multitool.csproj | Retargets the Multitool to .NET 10 while retaining the .NET Framework target. |
| src/Nuget/Sarif.Multitool.nuspec | Moves the .NET tool package layout from net8.0 to net10.0. |
| scripts/Projects.psm1 | Makes .NET 10 the application framework used by build and packaging scripts. |
| scripts/BuildMultitoolForNpm.ps1 | Publishes, stages, and cleans .NET 10 Multitool binaries for npm packages. |
| ReleaseHistory.md | Documents the breaking .NET 10 runtime requirement for Sarif.Multitool. |
| npm/sarif-multitool-ts/test/conformance.test.js | Builds and runs conformance tests against the .NET 10 Multitool. |
| docs/ai/samples/grouping-findings/GroupingGenerateSample.ps1 | Updates grouping-sample generation to use the .NET 10 Multitool. |
| BuildPackagesFromLayoutDirectory.cmd | Copies signed .NET 10 assemblies into the package layout. |
| ado-build.yml | Installs the .NET 10 SDK in Azure DevOps build and npm packaging jobs. |
| .github/workflows/validate.yml | Uses .NET 10 for validation, npm packaging, and formatting jobs. |
| .github/workflows/codeql-analysis.yml | Installs the .NET 10 SDK before CodeQL build analysis. |
Review effort: Lite (adaptive)
Pin SDK resolution to the .NET 10 feature band so CI does not select a preinstalled .NET 11 SDK. Retain the System.Private.Uri package for net462 while allowing .NET 10 package pruning. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Danielle Gonzalez (daniellegonzalez)
approved these changes
Nov 30, 2026
Eddy Nakamura (eddynaka)
deleted the
users/ednakamu/sarif-sdk-analysis
branch
November 30, 2026 16:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Migrate the Multitool and test projects from .NET 8 to .NET 10, including CI and packaging.
Behavior
The .NET tool now requires the .NET 10 runtime. Existing .NET Standard and .NET Framework targets are retained. Pin SDK selection to the .NET 10 feature band, and keep
System.Private.Urifornet462only.Tests
--versioncommand passed.