Get PostSharp

Add the PostSharp package to your project and begin coding.

dotnet add package PostSharp

.NET Framework, .NET, Xamarin and Blazor are fully tested and supported. No key is required to start the 45-day trial.

Need a specific build? Get it from the download manager.

Optionally, install PostSharp Tools for Visual Studio for the best coding experience.

  • Step over aspects while debugging, keeping a clean call stack.
  • See which aspects are present in your code through IntelliSense.
  • Get started quickly with code actions.

The extension works with every license, and with the 45-day trial.

Start adding aspects to your application.

Don't know where to start? Try adding logging to a few methods first.

Need an older build? Every version back to 2009 is in the download archive.