Metalama.Compiler 2027.0.1-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 2027.0.1-preview
                    
NuGet\Install-Package Metalama.Compiler -Version 2027.0.1-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="2027.0.1-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="2027.0.1-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 2027.0.1-preview
                    
#r "nuget: Metalama.Compiler, 2027.0.1-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@2027.0.1-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=2027.0.1-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Metalama.Compiler&version=2027.0.1-preview&prerelease
                    
Install as a Cake Tool

Metalama by PostSharp

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 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.

NuGet packages (1)

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

Package Downloads
Metalama.Framework

An open-source patterns & architecture toolkit for C#. Define your team's patterns once: the compiler writes the repetitive parts at build time and enforces your rules as you type.

GitHub repositories (1)

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

Repository Stars
metalama/Metalama
A Roslyn-based open-source patterns & architecture toolkit for C#. Built by the makers of PostSharp.
Version Downloads Last Updated
2027.0.2-preview 0 9/10/2026
2027.0.1-preview 553 9/7/2026
2026.1.18 2,362 9/5/2026
2026.1.17 14,388 8/21/2026
2026.1.16 10,723 8/13/2026
2026.1.15 2,269 8/10/2026
2026.1.14 1,756 8/5/2026
2026.1.13 12,594 7/21/2026
2026.1.12 3,490 7/15/2026
2026.1.11 23,347 6/27/2026
2026.1.10 60,027 6/3/2026
2026.1.9-rc 2,796 5/15/2026
2026.1.8-rc 1,142 5/13/2026
2026.1.7-preview 4,696 4/29/2026
2026.1.6-preview 1,328 4/17/2026
2026.0.15 1,325 6/30/2026
2026.0.14 874 6/27/2026
2026.0.13 17,600 5/15/2026
2026.0.12 18,571 4/29/2026
2025.1.12 1,411 6/30/2026
Loading failed