CommentSense 1.0.0
dotnet add package CommentSense --version 1.0.0
NuGet\Install-Package CommentSense -Version 1.0.0
<PackageReference Include="CommentSense" Version="1.0.0" />
<PackageVersion Include="CommentSense" Version="1.0.0" />
<PackageReference Include="CommentSense" />
paket add CommentSense --version 1.0.0
#r "nuget: CommentSense, 1.0.0"
#:package CommentSense@1.0.0
#addin nuget:?package=CommentSense&version=1.0.0
#tool nuget:?package=CommentSense&version=1.0.0
CommentSense
CommentSense is a Roslyn analyzer for C# that helps keep XML documentation complete, consistent, and useful.

The project is provided as a NuGet package that is published on nuget.org, and it can be installed by running:
dotnet add package CommentSense
Requirements
CommentSense requires compiler XML documentation parsing:
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
If this is disabled, CommentSense reports CSENSE000.
Quick start
Add a baseline .editorconfig:
[*.cs]
comment_sense.visibility_level = protected
comment_sense.require_capitalization = true
comment_sense.require_ending_punctuation = true
View docs/getting-started.md for more information.
Common Rules
CommentSense includes over 25 diagnostics, commonly used rules include:
| Rule | Purpose |
|---|---|
CSENSE001 |
Missing symbol documentation |
CSENSE002 / CSENSE004 |
Missing parameter / type parameter docs |
CSENSE006 |
Missing return documentation |
CSENSE012 |
Missing exception documentation |
CSENSE016 |
Low-quality documentation |
CSENSE018 |
Missing explicit inheritdoc (when required) |
Documentation
Detailed documentation:
- Getting started: docs/getting-started.md
- Rules reference: docs/rules-reference.md
- Configuration reference: docs/configuration.md
- Practical examples: docs/examples.md
Contributions
Contributions are welcome! Read the contributing guide to get started.
License
This project is licensed under the MIT License.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 147 | 3/17/2026 |
| 1.0.0-rc.1 | 38 | 3/17/2026 |
| 0.3.0 | 248 | 2/6/2026 |
| 0.3.0-rc.2 | 63 | 2/6/2026 |
| 0.3.0-rc.1 | 66 | 2/5/2026 |
| 0.2.0 | 131 | 2/1/2026 |
| 0.2.0-rc.2 | 52 | 2/1/2026 |
| 0.2.0-rc.1 | 56 | 1/31/2026 |
| 0.1.0 | 103 | 1/30/2026 |
| 0.1.0-rc.3 | 52 | 1/30/2026 |
| 0.1.0-rc.2 | 52 | 1/28/2026 |