Metalama.Extensions.HtmlWriter
2026.1.32
Prefix Reserved
See the version list below for details.
dotnet add package Metalama.Extensions.HtmlWriter --version 2026.1.32
NuGet\Install-Package Metalama.Extensions.HtmlWriter -Version 2026.1.32
<PackageReference Include="Metalama.Extensions.HtmlWriter" Version="2026.1.32" />
<PackageVersion Include="Metalama.Extensions.HtmlWriter" Version="2026.1.32" />
<PackageReference Include="Metalama.Extensions.HtmlWriter" />
paket add Metalama.Extensions.HtmlWriter --version 2026.1.32
#r "nuget: Metalama.Extensions.HtmlWriter, 2026.1.32"
#:package Metalama.Extensions.HtmlWriter@2026.1.32
#addin nuget:?package=Metalama.Extensions.HtmlWriter&version=2026.1.32
#tool nuget:?package=Metalama.Extensions.HtmlWriter&version=2026.1.32
Metalama.Extensions.HtmlWriter
This package provides optional HTML code writing functionality for Metalama.
Installation
Add a reference to this package in your project:
<PackageReference Include="Metalama.Extensions.HtmlWriter" />
Features
When this package is referenced, Metalama can generate HTML output files showing the source code with syntax highlighting and diff visualization. This is useful for:
- Documentation generation
- Debugging aspect transformations
- Visualizing compile-time vs run-time code
Usage
Compile-time Pipeline
Enable HTML output in your project by setting the WriteHtml MSBuild property:
<PropertyGroup>
<MetalamaWriteHtml>true</MetalamaWriteHtml>
</PropertyGroup>
Aspect Tests
Enable HTML output in aspect tests by adding a metalamaTests.json file to your test project:
{
"WriteInputHtml": true,
"WriteOutputHtml": true
}
Without this package, the WriteHtml feature and related test options will throw an error with a message indicating that the package needs to be installed.
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Metalama.Framework.Sdk (>= 2026.1.32)
- Metalama.Testing.AspectTesting (>= 2026.1.32)
-
net8.0
- Metalama.Framework.Sdk (>= 2026.1.32)
- Metalama.Testing.AspectTesting (>= 2026.1.32)
-
net9.0
- Metalama.Framework.Sdk (>= 2026.1.32)
- Metalama.Testing.AspectTesting (>= 2026.1.32)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Metalama.Extensions.HtmlWriter:
| Package | Downloads |
|---|---|
|
Metalama.Documentation.QuickStart
Contains trivial aspects used in Metalama's getting started documentation. Do not use in production code. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.6-preview | 52 | 11/11/2026 |
| 2027.0.5-preview | 112 | 10/30/2026 |
| 2027.0.4-preview | 132 | 10/13/2026 |
| 2027.0.3-preview | 166 | 9/16/2026 |
| 2027.0.2-preview | 124 | 9/10/2026 |
| 2027.0.1-preview | 130 | 9/7/2026 |
| 2026.1.32 | 103 | 11/10/2026 |
| 2026.1.31 | 146 | 10/29/2026 |
| 2026.1.30 | 181 | 10/13/2026 |
| 2026.1.29 | 201 | 10/2/2026 |
| 2026.1.28 | 170 | 9/16/2026 |
| 2026.1.27 | 173 | 9/10/2026 |
| 2026.1.26 | 176 | 9/5/2026 |
| 2026.1.25 | 203 | 8/21/2026 |
| 2026.1.24 | 222 | 8/13/2026 |
| 2026.1.23 | 151 | 8/10/2026 |
| 2026.1.22 | 152 | 8/5/2026 |
| 2026.1.21 | 205 | 7/21/2026 |
| 2026.1.20 | 161 | 7/15/2026 |
| 2026.1.19 | 182 | 6/27/2026 |