-
Notifications
You must be signed in to change notification settings - Fork 6k
Add NuGet package guidance to CS1061 compiler error documentation #47961
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: BillWagner <[email protected]>
PoliCheck Scan ReportThe following reports 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 comment that you post to the PR. The feedback helps reduce false positive instances in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot One change, and then this is ready.
Co-authored-by: BillWagner <[email protected]>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now LGTM.
Co-authored-by: BillWagner <[email protected]>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
This PR adds general guidance to help developers find missing NuGet packages when encountering CS1061 compiler errors, addressing the issue where specific packages like
Microsoft.AspNetCore.Identity.UI
are needed but not documented.Changes Made
Added a fourth correction step to the CS1061.md documentation that directs users to search NuGet.org when they suspect a missing member should exist but doesn't. This provides a general solution for finding appropriate NuGet packages without maintaining a comprehensive list of specific packages.
The new guidance follows the existing documentation pattern and aligns with the maintainer feedback to provide general directions rather than specific package references.
Before
The documentation only provided three ways to correct CS1061 errors:
After
Now includes a fourth option:
4. Search NuGet.org for packages containing the missing member
This change helps developers like the issue reporter who needed
Microsoft.AspNetCore.Identity.UI
but provides a scalable solution that works for any missing package scenario.Also updated
.gitignore
to prevent accidentally committingnode_modules/
from temporary tooling.Fixes #37017.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews