.NETStandard2.0
Metalama SDK. A tool for custom source code modifying extensions using the Roslyn API. More powerful than source generators.
Published
Mar 25, 2026
6mo ago
Total Downloads
200.9K
200,922
Install
dotnet add package Metalama.Framework.Sdk --version 2026.0.20
| Product | Versions |
|---|---|
| .NET Standard |
README
About
Metalama.Framework.Sdk allows you to extend Metalama using the Roslyn API.
Key Features
It has includes three use cases:
- Inspecting method bodies using Roslyn's syntax tree and symbols (Metalama's code model does not give you access to this level of details.).
- Build custom aspect weavers to create aspects that perform arbitrary syntax tree transformation.
- Build custom metrics.
Resources
- Documentation: Extending Metalama with the Roslyn API.
- Examples: Metalama.Community, a set of examples migrated from Fody.
Changes from Previous Version
No structural changes between v2026.0.19 and v2026.0.20.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.