nuget: switch NuGetUpdater target framework to net10.0#14345
Merged
JamieMagee merged 1 commit intomainfrom Mar 3, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the NuGetUpdater native helper to target .NET 10 (matching the already-updated SDK) and syncs the supported TFM list with upstream, including newly added *-browser TFMs.
Changes:
- Bump NuGetUpdater common target framework from
net9.0tonet10.0. - Update helper build script to publish the CLI for
net10.0. - Add
net8.0-browser,net9.0-browser, andnet10.0-browserto the supported frameworks list.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| nuget/helpers/lib/NuGetUpdater/NuGetUpdater.Core/FrameworkChecker/SupportedFrameworks.cs | Adds browser platform TFMs for net8/net9/net10 and includes them in the supported framework list. |
| nuget/helpers/lib/NuGetUpdater/Directory.Common.props | Updates CommonTargetFramework to net10.0 for the NuGetUpdater solution. |
| nuget/helpers/build | Publishes NuGetUpdater.Cli targeting net10.0. |
brettfo
approved these changes
Mar 3, 2026
87c97f3 to
a0418b8
Compare
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.
What are you trying to accomplish?
The SDK was already at 10.0 but the project still targeted net9.0, so this catches the target framework up and pulls in the latest SupportedFrameworks.cs (which adds the browser platform TFMs upstream missed locally).
Anything you want to highlight for special attention from reviewers?
The test files still reference net9.0 in their fixture data -- that's intentional since those represent projects Dependabot is analyzing, not the tool itself.
How will you know you've accomplished your goal?
CI builds green;
dotnet build NuGetUpdater.slncompiles with zero errors on net10.0.Checklist