Metalama.Compiler 2026.1.2-preview

Prefix Reserved
This is a prerelease version of Metalama.Compiler.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Metalama.Compiler --version 2026.1.2-preview
                    
NuGet\Install-Package Metalama.Compiler -Version 2026.1.2-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Metalama.Compiler" Version="2026.1.2-preview">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Metalama.Compiler" Version="2026.1.2-preview" />
                    
Directory.Packages.props
<PackageReference Include="Metalama.Compiler">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Metalama.Compiler --version 2026.1.2-preview
                    
#r "nuget: Metalama.Compiler, 2026.1.2-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Metalama.Compiler@2026.1.2-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Metalama.Compiler&version=2026.1.2-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Metalama.Compiler&version=2026.1.2-preview&prerelease
                    
Install as a Cake Tool

Metalama Logo

The Metalama.Compiler package is a fork of the Microsoft.Net.Compilers.Toolset package that adds support for source transformers through the ISourceTransformer interface.

You should normally never reference this package from a project. Instead, you should reference the Metalama.Framework package, which references Metalama.Compiler.

For a map of the NuGet packages that compose Metalama, see https://doc.metalama.net/deployment/packages.

Product Compatible and additional computed target framework versions.
.NET 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 is compatible.  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 is compatible.  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 Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Metalama.Compiler:

Package Downloads
Metalama.Framework

A Roslyn-based meta-programming framework for code generation, architecture validation and aspect-oriented programming in C#.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Metalama.Compiler:

Repository Stars
metalama/Metalama
A meta-programming framework for code generation, aspect-oriented programming, and architecture verification of large C# codebases.
Version Downloads Last Updated
2026.1.9-rc 1,062 5/15/2026
2026.1.8-rc 1,097 5/13/2026
2026.1.7-preview 4,610 4/29/2026
2026.1.6-preview 1,254 4/17/2026
2026.1.5-preview 22,823 3/26/2026
2026.1.4-preview 924 3/22/2026
2026.1.3-preview 1,937 3/7/2026
2026.1.2-preview 1,189 2/11/2026
2026.1.1-preview 893 2/5/2026
2026.1.0-preview 896 2/1/2026
2026.0.13 1,432 5/15/2026
2026.0.12 3,184 4/29/2026
2026.0.11 6,780 4/17/2026
2026.0.10 14,392 3/21/2026
2026.0.9 18,792 3/12/2026
2026.0.8 43,236 1/12/2026
2026.0.7 12,110 1/5/2026
2026.0.6-rc 5,267 12/4/2025
2026.0.5-rc 1,304 11/28/2025
2025.1.11 26,858 12/9/2025
Loading failed