CPMR0070 - Package Id uses underscores (nuspec)
CPMR0070 - Package Id uses underscores (nuspec)
WARNING
This rule has been marked as a Note
Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.
Issue
In the nuspec, the <id>
field has been specified with an underscore (_
) as part of the package identifier when separating words.
Recommended Solution
Please update the <id>
field in the .nuspec
file to ensure that the package identifier does not contain an underscore, and follows our package naming Guidelines
Reasoning
Packages on Chocolatey Community Repository should follow package guidelines and established conventions.
One of the established conventions is to separate different words using a dash (-
) instead of an underscore (_
).