Skip to main content

unique-custom-rule-id

Overview

This rule belongs to the custom-ruleset-validation ruleset and states that:

The id specified in the rule definition using the Id property must be unique among all rules defined in the current ruleset document.

PropertyValue
EnabledYes
SeverityError
MessageDuplicate custom rule Id found.
CodeCUSTOMRULESET_V101
TypeValidation
Rule SystemSemantic
Broad CategoryCustom Rules
Tagscustom ruleset semantic validation id rule

Suggested Fixes

  • Ensure that the Id assigned to the rule is unique among ids of all rules defined in the current ruleset document
  • Ids are compared in a case-sensitive manner.
  • Make sure that the rule id is not null or empty.

For More Information