Briefs

Build announcements and other short news that don't warrant a full article.

12/02/2026 · Brief

Visual Studio Tools for PostSharp and Metalama 2027.0.1-preview released

We’ve released Visual Studio Tools for PostSharp and Metalama 2027.0.1-preview, the first public preview of the 2027.0 line, built on PostSharp 2027.0 and Metalama 2027.0 and still supporting projects on Metalama 2026.0 and 2026.1. It requires Visual Studio 2026 18.11 or later and no longer installs on Visual Studio 2022. It has 13 bug fixes, most of them in CodeLens, the debugger and the options pages. This is a preview release and is not supported in production. See the release notes of 2027.0.0-preview and 2027.0.1-preview.

12/02/2026 · Brief

Metalama 2027.0.10-preview and 2026.1.34 released

We’ve released Metalama 2026.1.34 with a design-time bug fix (see the release notes), and Metalama 2027.0.10-preview, which includes that fix and 6 more, most of them in caching, crash reports and telemetry settings, with an updated Metalama.Compiler 2027.0.7-preview (see the release notes). 2027.0.10-preview is a preview release.

11/22/2026 · Brief

Metalama 2027.0.8-preview released, the final 2027.0 preview

We’ve released Metalama 2027.0.8-preview, the code-complete final preview of Metalama 2027.0, with 6 bug fixes. Please test it with your projects and report any problem. This is a preview release. See the release notes.

11/19/2026 · Blog Post

Query Any .NET Codebase from Your AI Agent with the Metalama MCP Server

Today we are releasing Metalama MCP, a new, free and open-source MCP server that lets your AI coding agent explore C# projects and solutions, whether or not they use Metalama Framework. The agent loads your solution once, then answers questions about types, members, inheritance and references by querying the compiler’s semantic model, instead of grepping through dozens of files. When you want to see the results yourself, Metalama MCP opens them in an interactive HTML view, LINQPad style, where you can sort, filter and expand any declaration to browse the result set.
Read Article →
11/19/2026 · Brief

Metalama 2027.0.7-preview released with an MCP server

We’ve released Metalama 2027.0.7-preview with Metalama MCP, an MCP server that lets AI agents explore any C# solution. It builds on Roslyn 5.12 GA and has 16 bug fixes and 7 breaking changes, most of them in caching. This is a preview release. See the release notes.

11/16/2026 · Brief

Metalama 2026.1.33 released

We’ve released Metalama 2026.1.33 with 7 bug fixes, including a security update of an embedded dependency. See the release notes.

11/11/2026 · Brief

Metalama 2027.0.6-preview released with .NET 11 SDK support

We’ve released Metalama 2027.0.6-preview, which supports the .NET 11 SDK and has 4 bug fixes. This is a preview release and is not supported in production. See the release notes.

11/10/2026 · Brief

Metalama 2026.1.32 released

We’ve released Metalama 2026.1.32 with 3 bug fixes, most of them design-time. See the release notes.

10/30/2026 · Brief

Metalama 2027.0.5-preview released

We’ve released Metalama 2027.0.5-preview. It supports the .NET SDK 11.0.100-rc.2 and ships Roslyn 5.12. The new metalama preview command prints the transformed code of a file without building the project. Hot Reload is now disabled by default. It also has 7 bug fixes and brings the fixes of Metalama 2026.1.31. This is a preview release and is not supported in production. See the release notes.

10/29/2026 · Brief

Metalama 2026.1.31 released

We’ve released Metalama 2026.1.31 with 8 bug fixes, half of them in initializer advice. Hot Reload is now disabled by default in projects that use Metalama. See the release notes.

10/29/2026 · Blog Post

Intercepting Calls to Any Method with Metalama Interceptors

Metalama 2027.0 adds call-site interceptors. An override aspect modifies the called method itself, for every caller, and requires its source code. An interceptor modifies the call sites instead: an aspect or a fabric selects the calls to a method within a given scope, and Metalama rewrites them at build time to target the interceptor. The called method can therefore belong to any assembly: the .NET libraries, a NuGet package, or another team’s project. The interceptor is either a hand-written C# method or generated from a T# template for each signature.
Read Article →
10/28/2026 · Blog Post

AI Coding Agent Support in PostSharp 2027.0

An AI coding agent in a PostSharp project works half blind. The source of a method shows none of the logging, caching or thread safety that PostSharp weaves into the assembly. When the agent writes an aspect, it rebuilds the API from memory, out of samples that span twenty years of PostSharp versions. And when the build fails, it is tempted to delete the aspect.
Read Article →
10/27/2026 · Brief

PostSharp 2027.0.7-preview released

We’ve released PostSharp 2027.0.7-preview. The new postsharp introspect command explains how aspects were applied to a project, as JSON for AI agents or as text. This is also the first build on nuget.org with the changes of 2027.0.6-preview, whose packages were never published. This is a preview release and is not supported in production. See the release notes.

10/27/2026 · Blog Post

Moving PostSharp Aspects to Dependency Injection

PostSharp was designed when dependency injection was still young and the .NET Framework had no built-in container. .NET Core then built one in, around constructor injection, and constructor injection was what PostSharp aspects could not take part in. PostSharp 2027.0 changes that: an aspect can now ask for a service, and the class it enhances receives that service from its constructor, like any other dependency. You can move your legacy code to a DI-centric architecture and bring your aspects along.
Read Article →
10/23/2026 · Blog Post

Your Aspects, Faster: Advice Parameter Binding in PostSharp 2027.0

Every OnEntry( MethodExecutionArgs args ) you have ever written pays three costs on every call: it allocates an object on the heap, it boxes the arguments and the return value into object, and it makes you cast them back. Our own Pattern Libraries stopped paying those costs a long time ago, because they use a mechanism we kept internal: advice parameter binding. With PostSharp 2027.0, this mechanism is public, documented and checked at build time.
Read Article →
10/22/2026 · Brief

PostSharp 2027.0.6-preview not published

PostSharp 2027.0.6-preview was not published to nuget.org; its changes ship in 2027.0.7-preview. Aspects can now receive services from dependency injection, starting with caching, and .NET projects now build faster in a background compilation server. It has 4 breaking changes. See the release notes.

10/16/2026 · Brief

PostSharp 2027.0.5-preview released

We’ve released PostSharp 2027.0.5-preview. The new PostSharp.Testing.AspectTesting package lets you test your aspects the way we test ours. The documentation now has an Errors and Warnings reference, with one article for each message. It also has 35 bug fixes, most of them in build-time messages and the pattern libraries, and 3 breaking changes in logging and threading. This is a preview release and is not supported in production. See the release notes.

10/14/2026 · Brief

PostSharp 2026.0.19 and 2024.0.28 released

We’ve released PostSharp 2026.0.19 and 2024.0.28 with 5 bug fixes, most of them build failures in assembly loading and binding on .NET Framework. PostSharp 2026.0.19 brings the 2024.0.28 fixes to the 2026.0 line. See the release notes for 2026.0.19 and 2024.0.28.

10/14/2026 · Brief

PostSharp 2027.0.4-preview released

We’ve released PostSharp 2027.0.4-preview. Applications that use PostSharp can now be published with ReadyToRun, trimmed, or compiled ahead of time with NativeAOT, including the pattern libraries. It also has 19 bug fixes, most of them in the aspect framework, and brings the fixes of PostSharp 2026.0.19. This is a preview release and is not supported in production. See the release notes.

10/13/2026 · Brief

Metalama 2027.0.4-preview released

We’ve released Metalama 2027.0.4-preview, which introduces call-site interceptors. An aspect or a fabric can now redirect calls to selected methods to an existing method or to one generated from a template. It also has many other enhancements, more than 40 bug fixes and a few breaking changes. This is a preview release and is not supported in production. See the release notes.