Repository navigation
Update .NET Framework target versions - #3185
Merged
Aasim Malladi (aasim) merged 2 commits intoNov 30, 2026
Merged
Conversation
Replace net461 product targets with net462 and add net472 assets across Windows libraries and the multitool. Update publishing and signing so both framework versions are packaged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The change expands the Windows .NET Framework runtime matrix and package layout, while the supplied checks do not verify packaged binaries and library consumers on actual .NET Framework 4.6.2 and 4.7.2 runtimes.
No open issues 🎉
What changed in this PR
Updates Windows .NET Framework support from net461 to net462, adds net472 targets across SARIF libraries and the Multitool, and aligns packaging, signing, build automation, and release notes.
Changes:
- Replaces legacy
net461product targets withnet462and addsnet472targets. - Adds framework-specific references, package contents, and signed Multitool assets.
- Updates framework build matrices and documents the changes under
UNRELEASED.
| File | Description |
|---|---|
| src/WorkItems/WorkItems.csproj | Replaces the net461 target with net462 and adds net472. |
| src/Sarif/Sarif.csproj | Adds the net472 target and required framework assembly references. |
| src/Sarif.WorkItems/Sarif.WorkItems.csproj | Adds net462 and net472 targets. |
| src/Sarif.Multitool/Sarif.Multitool.csproj | Adds the net472 application target and URI compatibility support. |
| src/Sarif.Multitool.Library/Sarif.Multitool.Library.csproj | Adds framework targets and packages default configuration for net462 and net472. |
| src/Sarif.Driver/Sarif.Driver.csproj | Adds the net472 target and required HTTP and compression references. |
| src/Sarif.Converters/Sarif.Converters.csproj | Adds the net472 target. |
| src/Nuget/Sarif.Multitool.nuspec | Packages signed net462 and net472 Multitool assets. |
| scripts/Projects.psm1 | Updates build, application, and library framework matrices. |
| ReleaseHistory.md | Moves the .NET 10 change to UNRELEASED and documents the framework target changes. |
Review effort: Lite (adaptive)
Place the tests that can observe the shared exception-injection flag in the same xUnit collection. Reset the flag in a finally block so a failing assertion cannot leave it enabled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Aasim Malladi (aasim)
approved these changes
Nov 30, 2026
Eddy Nakamura (eddynaka)
deleted the
users/ednakamu/framework-target-updates
branch
November 30, 2026 20:14
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
a8b60a8c298d510c57f3aa47a589fa4823942cd8↓ Execution on actual 4.6.2 and 4.7.2 runtimes and NuGet advisory lookup remain unverified.
ExceptionInEngineresult; the two interacting test classes are now serialized.↓ The original CI failure did not capture the underlying exception or confirm overlapping execution.
↓ A passing rerun does not prove the flag caused the original failure.
Description
Replace Windows
net461product targets withnet462and addnet472targets..NET Framework 4.6.1 reached end of support on April 26, 2022. Version 4.6.2 reaches end of support on January 12, 2027, so
net472provides a longer-supported target.Behavior
netstandard2.0andnet10.0.net461.finallyblock.Tests
NuGetAudit=false.