Delphi Error – W1206 XML comment on ‘%s’ has cref attribute ‘%s’ that could not be resolved

Delphi Compiler Error

W1206 XML comment on ‘%s’ has cref attribute ‘%s’ that could not be resolved

Reason for the Error & Solution

This warning message occurs when the XML has a cref attribute that cannot be resolved.

This is a warning in XML documentation processing. The XML is well formed, but the comment’s meaning is questionable. XML cref references follow the .NET style. See for more details. A documentation warning does not prevent building.