Skip to content

Document NU1018 and NU1019#3546

Merged
nkolev92 merged 6 commits intomainfrom
copilot/document-nu1019
Apr 7, 2026
Merged

Document NU1018 and NU1019#3546
nkolev92 merged 6 commits intomainfrom
copilot/document-nu1019

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

Documents the new NU1018 and NU1019 errors introduced in NuGet.Client#7244 and NuGet.Client@fbcb617.

  • New file docs/reference/errors-and-warnings/NU1018.md: Documents the NU1018 error for duplicate target frameworks that require the default dependency resolver (.NET SDK 10.0.300+), including scenario description, framework aliasing context, and solution guidance.
  • New file docs/reference/errors-and-warnings/NU1019.md: Documents the NU1019 error for disallowed characters in TargetFramework property values that would break the assets file format, including SDK analysis level gating (path separators error at 10.0.300+, non-ASCII warning→error at 11.0.100+) and solution guidance.
  • Updated docs/reference/Errors-and-Warnings.md: Added NU1018 and NU1019 to the "Invalid input errors" row.
  • Updated docs/TOC.md: Added NU1018, NU1019, and other missing error/warning pages (NU1013, NU1016, NU1017, NU5038, NU5039, NU5040, NU5041, NU5051, NU5133) to the table of contents.

Copilot AI linked an issue Apr 2, 2026 that may be closed by this pull request
@learn-build-service-prod
Copy link
Copy Markdown

Learn Build status updates of commit b24ad7b:

⚠️ 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] Document NU1019 Document NU1019 Apr 2, 2026
Copilot AI requested a review from nkolev92 April 2, 2026 00:09
@learn-build-service-prod
Copy link
Copy Markdown

Learn Build status updates of commit ee8e7b1:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1019.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.

Copilot AI requested a review from nkolev92 April 2, 2026 17:07
@learn-build-service-prod
Copy link
Copy Markdown

Learn Build status updates of commit 95ed256:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1019.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 April 2, 2026 17:42
@nkolev92 nkolev92 requested review from a team as code owners April 2, 2026 17:42
Copilot AI review requested due to automatic review settings April 2, 2026 17:42
Copy link
Copy Markdown
Contributor

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 documentation for the newly introduced NU1019 error/warning (invalid TargetFramework / TargetFrameworks values containing path separators or non-ASCII characters) and links it from the Errors and Warnings reference index.

Changes:

  • Added a new reference page describing NU1019 scenarios, analysis-level gating, and remediation guidance.
  • Updated the main Errors and Warnings index to include NU1019 under “Invalid input errors”.

Reviewed changes

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

File Description
docs/reference/errors-and-warnings/NU1019.md New NU1019 documentation page describing the scenario, gating behavior, and suggested fixes.
docs/reference/Errors-and-Warnings.md Adds NU1019 to the invalid input errors list so it’s discoverable from the index.

@learn-build-service-prod
Copy link
Copy Markdown

Learn Build status updates of commit 5f5cc25:

✅ Validation status: passed

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

For more details, please refer to the build report.

Copilot AI requested a review from nkolev92 April 7, 2026 17:14
Copy link
Copy Markdown
Member

@nkolev92 nkolev92 left a comment

Choose a reason for hiding this comment

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

@copilot Can you document NU1018 as well. NuGet/NuGet.Client@fbcb617 has details

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 7, 2026

@copilot Can you document NU1018 as well. NuGet/NuGet.Client@fbcb617 has details

Added NU1018 documentation in commit ca7e199. Created docs/reference/errors-and-warnings/NU1018.md covering the duplicate frameworks scenario with the legacy dependency resolver, and added NU1018 to both docs/TOC.md and docs/reference/Errors-and-Warnings.md.

@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 ca7e199:

✅ Validation status: passed

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

For more details, please refer to the build report.

Copilot AI changed the title Document NU1019 Document NU1018 and NU1019 Apr 7, 2026
Copilot AI requested a review from nkolev92 April 7, 2026 17:22
@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 enabled auto-merge (squash) April 7, 2026 17:31
@nkolev92 nkolev92 requested a review from zivkan April 7, 2026 17:31
@learn-build-service-prod
Copy link
Copy Markdown

Learn Build status updates of commit 99d3a68:

✅ Validation status: passed

File Status Preview URL Details
docs/reference/Errors-and-Warnings.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1018.md ✅Succeeded View
docs/reference/errors-and-warnings/NU1019.md ✅Succeeded View
docs/TOC.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 45fb520 into main Apr 7, 2026
3 checks passed
@nkolev92 nkolev92 deleted the copilot/document-nu1019 branch April 7, 2026 23:32
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.

Document NU1019

5 participants