Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

TitleNotSameAsPackageId

Rob Reynolds edited this page Dec 22, 2015 · 11 revisions

Title and Package Id Should not Match

WARNING!

There was a bug where it was not taking case into account. We've fixed the bug, but you may end up here. - https://github.com/chocolatey/package-validator/issues/86

Issue

In the nuspec, the id of the package <id /> was found to match exactly with <title />.

Recommended Solution

In the nuspec, ensure the <id /> is completely lowercase (e.g. "thispackage") and the <title /> uses title case (e.g. "This Package").

Reasoning

In general, the id should be lowercase ("thispackage") and a title should have title case ("ThisPackage"). The names may match, but what we are generally searching for is whether someone has ran the template generation and then forgotten to update the title in the nuspec to something more appropriate.

Remember!!

Always push the exact same version of the package during review! Package versions are not immutable until approved.

Requirements

Guidelines

Suggestions

Notes

Clone this wiki locally