-
Notifications
You must be signed in to change notification settings - Fork 696
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
Updated NU1012 error message to display item paths #4843
Conversation
Updated the NU1012 error message created in PackageBuilder to display a comma-delimited list of item paths instead of a list of frameworks. Updated the SavingPackageValidatesMissingTPVInFiles unit test in PackageBuilderTests to adjust the expected results accordingly. The comment for the MissingTargetPlatformVersionsFromIncludedFiles string resource in Strings.resx ("0 - comma-separated list of files with bad TFMs") suggests that this was the original intent for this message. Resolves #11905.
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.
🚀
Thanks for the contribution @danjagnow Can you please fill out the checklist and follow the instructions in the template? It'd be great to create a docs issue to update the example there, https://github.com/NuGet/docs.microsoft.com-nuget/blob/main/docs/reference/errors-and-warnings/NU1012.md. |
@nkolev92, I did my best to fill out the template. Hopefully that's better. Let me know if there are other changes I should make. Thanks for providing the link to the docs for NU1012. |
Looks great @danjagnow, thank you. |
@nkolev92 @dominoFire |
Merged. |
Bug
Fixes: NuGet/Home#11905
Regression? Last working version:
Description
Updated the NU1012 error message created in
PackageBuilder
to display a comma-delimited list of item paths instead of a list of frameworks. Updated theSavingPackageValidatesMissingTPVInFiles
unit test inPackageBuilderTests
to adjust the expected results accordingly. The comment for theMissingTargetPlatformVersionsFromIncludedFiles
string resource in Strings.resx ("0 - comma-separated list of files with bad TFMs") suggests that this was the original intent for this message. Resolves #11905.PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation