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/08/2026 · Brief
PostSharp 2027.0.3-preview released
We’ve released PostSharp 2027.0.3-preview, with more advice parameter binding improvements and 32 bug fixes, most of them in NotifyPropertyChanged and the threading models. It comes with PostSharp.AI.Skills, a plugin that gives Claude Code and Codex the PostSharp documentation. This is a preview release and is not supported in production. See the release notes.
10/03/2026 · Brief
PostSharp 2027.0.2-preview released
We’ve released PostSharp 2027.0.2-preview. Advice parameter binding is now publicly supported, so an advice method can take only the values it needs as typed parameters instead of an AdviceArgs object. Aspects now also work on .NET 11 methods compiled with runtime async. It also has 4 bug fixes. This is a preview release and is not supported in production. See the release notes.
09/29/2026 · Brief
PostSharp 2027.0.1-preview released
We’ve released PostSharp 2027.0.1-preview, the first build of the 2027.0 line. It supports .NET 10 and .NET 11 and replaces the PostSharp Options application with a web-based interface and a postsharp command line tool, with several breaking changes. This is a preview release and is not supported in production. See the release notes.