AutoDocCommenter 1.0.0
dotnet add package AutoDocCommenter --version 1.0.0
NuGet\Install-Package AutoDocCommenter -Version 1.0.0
<PackageReference Include="AutoDocCommenter" Version="1.0.0" />
<PackageVersion Include="AutoDocCommenter" Version="1.0.0" />
<PackageReference Include="AutoDocCommenter" />
paket add AutoDocCommenter --version 1.0.0
#r "nuget: AutoDocCommenter, 1.0.0"
#:package AutoDocCommenter@1.0.0
#addin nuget:?package=AutoDocCommenter&version=1.0.0
#tool nuget:?package=AutoDocCommenter&version=1.0.0
AutoDocCommenter.NET
Automatically generates XML comments and Markdown documentation for .NET projects.
Benefits of AutoDocCommenter.NET
Full End-to-End Demo: Provides a ready-to-run example project showing how to generate documentation effortlessly.
Automatic XML Comments: Injects meaningful XML comments directly into your source code, saving hours of manual documentation.
Markdown Documentation Generation: Creates structured Markdown docs for your entire project, compatible with all frameworks including .NET 4.5+.
Roslyn-Powered Automation: Leverages Roslyn for accurate parsing and XML comment injection while supporting fallback for legacy frameworks.
One-Click Documentation: Combines XML comment injection and Markdown generation in a single run for maximum developer productivity.
Features
- Auto XML comment generation (Roslyn) for .NET 7/8 and netstandard2.0
- Markdown documentation generation for all frameworks including .NET 4.5+
- Supports multi-targeting: net8.0, net7.0, netstandard2.0, net452
Usage
Usage Guide for AutoDocCommenter.NET 1️⃣ Install the Package dotnet add package AutoDocCommenter.NET
2️⃣ Add Using Statement using AutoDocCommenter;
3️⃣ Generate XML Comments + Markdown Documentation class Program { static void Main() { // Path to your project string projectPath = @"C:\MyProject";
// Path to output documentation
string docsPath = Path.Combine(projectPath, "Docs");
// Generate XML comments and Markdown docs
AutoDocCommenter.AutoDocCommenter.GenerateAll(projectPath, docsPath);
Console.WriteLine("Documentation generation finished!");
Console.WriteLine($"Check the generated docs at: {docsPath}");
}
}
4️⃣ What Happens
XML Comments Injection:
Automatically adds <summary> and <param> tags to all methods in C# files.
Works on .NET 7/8 and netstandard2.0.
Skips Roslyn-based injection for legacy frameworks (net452) gracefully.
Markdown Documentation Generation:
Creates a Documentation.md file in the specified docsPath.
Includes project structure and methods with auto-generated summaries.
Compatible with all frameworks including .NET 4.5+.
5️⃣ Example Output XML in SampleClass.cs /// <summary> /// Auto-generated summary for Add /// </summary> /// <param name="a">Auto-generated description</param> /// <param name="b">Auto-generated description</param> public int Add(int a, int b) { return a + b; }
Markdown (Documentation.md)
SampleClass
Methods
Add
Summary: Auto-generated description
Greet
Summary: Auto-generated description
6️⃣ Notes
Works on all .NET versions 4.5+ and modern .NET 7/8.
Conditional compilation ensures legacy frameworks don’t break.
Combine with your CI/CD workflow to automatically maintain up-to-date documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5.2
- No dependencies.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
-
net7.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
-
net8.0
- Microsoft.CodeAnalysis.CSharp (>= 4.12.0)
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 | 175 | 10/20/2025 |
Initial release: Auto XML comments + Markdown documentation generation.