CSENSE000: Disabled Documentation Parsing
The diagnostic identifier
The diagnostic category
The default severity level
Whether this rule is enabled by default
Description
CommentSense relies on the compiler’s documentation parsing. This diagnostic is reported when XML documentation parsing is disabled for one or more files in the project.Why This Rule Exists
CommentSense requires the compiler to parse XML documentation comments in order to analyze them. Without documentation parsing enabled, CommentSense cannot function properly.How to Fix
Enable XML documentation parsing by adding<GenerateDocumentationFile>true</GenerateDocumentationFile> to your project file (.csproj):
Examples
Violation
WhenGenerateDocumentationFile is not set to true in your project file, this diagnostic will be reported at the compilation level:
Fixed
After adding<GenerateDocumentationFile>true</GenerateDocumentationFile> to your project file, the diagnostic will be resolved.