Skip to content

Document NU5105 deprecation in NuGet 5.6 - #3538

Merged
nkolev92 merged 5 commits into
mainfrom
copilot/fix-semver-warning-issue
Mar 11, 2026
Merged

nkolev92 merged 5 commits into
mainfrom
copilot/fix-semver-warning-issue

Conversation

Copilot AI commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor
  • Update NuGet 5.6 release notes to add DCR entry for NU5105 deprecation (issues #9044 and #5201)
  • Update NU5105 warning documentation with deprecation note (NuGet 5.6 / VS 2019 16.6 / .NET SDK 3.1.300)
  • Make "NuGet 5.6" in the deprecation note a link to the release notes page
Original prompt

This section details on the original issue you should resolve

<issue_title>Do not warn about SemVer 2.0.0 versions when the MinClientVersion is specified beyond 4.3</issue_title>
<issue_description>Please see NuGet/Home#4687 for the problem (the problem has not changed).

Now that a package can specify MinClientVersion metadata, this warning should not be presented if the specified client supports SemVer 2.0. This will remove noise from the build and/or allow those that are using SemVer 2.0 versions to take advantage of the package analyzer.</issue_description>

Comments on the Issue (you are @copilot in this section)

@nkolev92 Thanks for creating this @Aethon Not sure when we'll get to this because we're prioritizing other work, but we'll gladly take a PR. //cc @rohit21agrawal @nkolev92 This warning was disabled ~5 years ago. https://github.com/NuGet/NuGet.Client/pull/3226

So this is no longer needed.

For some reason the 5.6 release notes are missing these details: https://learn.microsoft.com/en-us/nuget/release-notes/nuget-5.6

What should be done here is just docs repo updates:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 496c6d3:

⚠️ Validation status: warnings

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Copilot AI changed the title [WIP] Fix warning for SemVer 2.0.0 when MinClientVersion is set Document NU5105 deprecation in NuGet 5.6 Mar 9, 2026
@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit f418544:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/errors-and-warnings/NU5105.md ✅Succeeded View
docs/release-notes/NuGet-5.6.md ✅Succeeded View

For more details, please refer to the build report.

Comment thread docs/release-notes/NuGet-5.6.md Resolved
@learn-build-service-prod

Copy link
Copy Markdown

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 8c7d572:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/errors-and-warnings/NU5105.md ✅Succeeded View
docs/release-notes/NuGet-5.6.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit d6cb067:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/errors-and-warnings/NU5105.md ✅Succeeded View
docs/release-notes/NuGet-5.6.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@nkolev92
nkolev92 marked this pull request as ready for review March 10, 2026 21:39
@nkolev92
nkolev92 requested review from a team as code owners March 10, 2026 21:39
Copilot AI review requested due to automatic review settings March 10, 2026 21:39
@nkolev92
nkolev92 enabled auto-merge (squash) March 10, 2026 21:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates NuGet documentation to reflect that NU5105 (SemVer 2.0 pack warning) was deprecated starting in NuGet 5.6, and records this in the 5.6 release notes.

Changes:

  • Add a DCR release-note entry noting pack no longer raises NU5105 for SemVer 2.0 packages.
  • Add a NOTE to the NU5105 docs describing the deprecation and linking to the NuGet 5.6 release notes.
  • Update ms.date on the NU5105 documentation page.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/release-notes/NuGet-5.6.md Adds a DCR bullet documenting NU5105’s deprecation behavior in NuGet 5.6.
docs/reference/errors-and-warnings/NU5105.md Adds a deprecation note (with link to 5.6 release notes) and refreshes page metadata date.

Comment thread docs/release-notes/NuGet-5.6.md Resolved
@learn-build-service-prod

Copy link
Copy Markdown

Learn Build status updates of commit 635f8dd:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/errors-and-warnings/NU5105.md ✅Succeeded View
docs/release-notes/NuGet-5.6.md ✅Succeeded View

For more details, please refer to the build report.

@learn-build-service-prod

Copy link
Copy Markdown

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@nkolev92
nkolev92 merged commit 0ced412 into main Mar 11, 2026
3 checks passed
@nkolev92
nkolev92 deleted the copilot/fix-semver-warning-issue branch March 11, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not warn about SemVer 2.0.0 versions when the MinClientVersion is specified beyond 4.3

4 participants