Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 18, 2025

Fixes https://github.com/nuget/home/issue/14415

This PR adds missing documentation for the NU1016 error code, which is raised when NuGet encounters a deprecated project.json project during restore operations.

Changes Made

  • Added docs/reference/errors-and-warnings/NU1016.md - Complete documentation for the NU1016 error following the established pattern of other error documentation
  • Updated docs/reference/Errors-and-Warnings.md - Added NU1016 to the "Invalid input errors" table

Copy link

Learn Build status updates of commit 40d5b6b:

✅ Validation status: passed

For more details, please refer to the build report.

Copy link

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 issues. Other issues are also a high priority. 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.

@Copilot Copilot AI changed the title [WIP] Fix @NuGet/Home/issues/14415 Add documentation for NU1016 error code (project.json deprecation) Sep 18, 2025
@Copilot Copilot AI requested a review from nkolev92 September 18, 2025 20:19
Copilot finished work on behalf of nkolev92 September 18, 2025 20:19
Copy link

Learn Build status updates of commit 5344788:

💡 Validation status: suggestions

File Status Preview URL Details
docs/reference/errors-and-warnings/NU1016.md 💡Suggestion View Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View

docs/reference/errors-and-warnings/NU1016.md

  • Line 5, Column 12: [Suggestion: ms-author-invalid - See documentation] Invalid value for 'ms.author', 'anangaur' is not a valid Microsoft alias.

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.

Copy link

Learn Build status updates of commit 34c1e37:

💡 Validation status: suggestions

File Status Preview URL Details
docs/reference/errors-and-warnings/NU1016.md 💡Suggestion View Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View

docs/reference/errors-and-warnings/NU1016.md

  • Line 5, Column 12: [Suggestion: ms-author-invalid - See documentation] Invalid value for 'ms.author', 'anangaur' is not a valid Microsoft alias.

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.

Copy link

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 issues. Other issues are also a high priority. 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.

Copy link

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 issues. Other issues are also a high priority. 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.

Copy link

Learn Build status updates of commit 4cca413:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1016.md ✅Succeeded View

For more details, please refer to the build report.

@nkolev92 nkolev92 marked this pull request as ready for review September 19, 2025 00:55
@nkolev92 nkolev92 requested review from a team as code owners September 19, 2025 00:55
@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 00:55
Copy link

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 issues. Other issues are also a high priority. 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.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation for the NU1016 error code, which is raised when NuGet encounters deprecated project.json projects during restore operations. The error indicates that projects using the deprecated project.json format need to be migrated to the newer PackageReference format.

  • Added complete documentation for NU1016 error following established documentation patterns
  • Updated the errors and warnings index to include the new NU1016 entry
  • Provided migration guidance with step-by-step instructions for different Visual Studio versions

Reviewed Changes

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

File Description
docs/reference/errors-and-warnings/NU1016.md New documentation page explaining NU1016 error with migration guidance
docs/reference/Errors-and-Warnings.md Added NU1016 link to the "Invalid input errors" table

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Learn Build status updates of commit e4d2270:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1016.md ✅Succeeded View

For more details, please refer to the build report.

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.

2 participants