-
Notifications
You must be signed in to change notification settings - Fork 252
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
[Behavior Change] Raise a missing README warning to <NuGetRequireReadMe> is true #13765
Comments
I think it would be better if we made pack warnings understand |
Good news! This is something you get for free if you implement the pack warnings as MSBuild BuildChecks! Editorconfig-based configuration is a core aspect of the BuildCheck model. |
Which warning are we referring to here? The other part is not a warning, but an info message. |
@nkolev92 the title of this issue is to change the info message to a warning. Adding a |
It's not, which is why I asked for a clarification, it's referring to a current warning, but It's also linking NU5039, which if it's about upgrading the message to a warning, NU5039 is not really relevant. |
We need a warning code for missing README. I thought this we did this but I guess we didn't? #12070 |
Thanks for the clarifications. Fixed the title, this is ready for the next triage. |
Dup of #13633. |
The request for the standalone property was because we don't have this coded either approach should work. |
NuGet Product(s) Affected
NuGet SDK
Current Behavior
When packing a NuGet project, we warn if a README is missing.
Desired Behavior
When packing a NuGet project and a project specifies , we should upgrade to an error if a README is missing.
Additional Context
https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5039
The text was updated successfully, but these errors were encountered: