Metalama Status Update, September 2024

by Gael Fraiteur on 30 Sep 2024

Autumn is here, and with it comes work on the new .NET and C# versions. We’ve made good progress on PostSharp and Metalama 2025.0 and will release a preview soon. On the community side, we’ve had the honor of discussing code quality at JetBrains Online Days, showcasing how Metalama and Qodana can work together to verify the architectural soundness of your codebase.

Work on .NET 9.0 and C# 13

As is tradition in the .NET community, Microsoft released the first RC of .NET 9.0, and we immediately started implementing it in PostSharp 2025.0 and Metalama 2025.0.

As I write these lines, the build of the first preview of PostSharp 2025.0 is in progress and should be out soon. It fixes most known issues with .NET 9.0 and C# 13.

For Metalama, we are still working on the first preview. The most significant improvement is that interceptors will now be supported. Code generators will run after Metalama to ensure consistency between design-time and compile-time experiences.

Updates and bug fixes

We updated Metalama 2024.1 and 2024.2 to Roslyn 4.11.

In addition, we continued fixing design-time bugs in 2024.2. See the change log for details.

JetBrains Online Days 2024

I was honored and delighted to speak at the JetBrains Online Days on September 25th with a new talk: Overcoming Broken Window Syndrome: Code Verification Techniques for .NET Developers. In the first chapter, I covered five different approaches to architecture verification, including Metalama.Extensions.Architecture. In the second part, acknowledging that the zero warning strategy is not always realistic, I discussed strategies to cope with thousands of warnings and briefly showed how to implement them using Qodana from JetBrains.

You can watch the recording here:

New and updated examples

The Commented Examples section of the Metalama documentation has received some updates. The following articles have been added or improved:

The Timeless .NET Engineer Blog

We published one article in our Timeless .NET Engineer blog:

Serilog Log Levels: When and How to Use Them

As every year, we are spending most of Autumn working on .NET 9.0 and C# 13. We are just about to publish the first preview of PostSharp 2025.0, and Metalama 2025.0 will follow soon. Our objective is to have an RC of both products within days after Microsoft announces the general availability of .NET 9, and to publish both PostSharp and Metalama 2025.0 in the first week of January 2025.

Happy meta-programming!

-gael

This article was first published on a https://blog.postsharp.net under the title Metalama Status Update, September 2024.