PostSharp Framework

Build your own aspects and start eliminating boilerplate from your .NET codebases.

Published by PostSharp Technologies
Distributed by ComponentSource since 2015

Prices from: $ 347.90 Version: 2025.x NEW Updated: Monthly?

i

PostSharp Framework replaces PostSharp Professional.

PostSharp Framework includes everything you need to automate the implementation or validation of your own patterns, including the Architecture Framework which used to be a part of PostSharp Ultimate. However, PostSharp Diagnostics is removed. PostSharp Professional customers will be offered a free subscription to PostSharp Diagnostics for the...

Show more

PostSharp Framework replaces PostSharp Professional.

PostSharp Framework includes everything you need to automate the implementation or validation of your own patterns, including the Architecture Framework which used to be a part of PostSharp Ultimate. However, PostSharp Diagnostics is removed. PostSharp Professional customers will be offered a free subscription to PostSharp Diagnostics for the whole duration of their PostSharp Professional subscription that has already been paid for. Please contact our sales team if you’re interested. Support for the license server is also removed. Please contact us if you’re impacted.

PostSharp Framework Releases

Released: Jan 4, 2025

Updates in v2025.0

Features

  • C# 13 and .NET 9 Support
    • Thoroughly tested and enhanced PostSharp to support the new .NET 9 SDK and C# 13. Some old bugs have been identified and resolved. One was related to parameters of type ref struct, and the other involved the mapping of generic methods.
  • Improved Windows PDB Support
    • Rewritten the component that handles the Windows PDB format. The previous implementation relied on source code from the outdated Microsoft CCI project, and was no longer maintainable. The new...

Released: Sep 30, 2024

Updates in v2024.1.6

Fixes

  • Failure to parse type name while deserializing attributes.
  • BuildClient: Incorrect override of native framework when targeting higher Windows version than the available SDK.
  • Fix .NET 9 SDK compatibility.
  • Using stackalloc with initializer in .NET 9.0 causes a runtime exception.
  • AggregateException and exceptions with redacted stack reporting fixed.

Released: Aug 2, 2024

Updates in v2024.1.5

Fixes

  • Cannot map reference assembly to OS-specific runtime assembly with higher version.
  • Invalid handling of ValueTasks created by ManualResetValueTaskSourceCore.
  • Logging throws BadImageFormatException/VerificationException in runtime when logged method's parameter is of ReadOnlySpan type.
  • 3rd party dependencies patch version update.
  • AbandonedMutexException is not correctly handled in SystemLockProvider.

Released: May 10, 2024

Updates in v2024.1.4

Fixes

  • Using PostSharp.Patterns.Diagnostics in a project in a directory with 143 character path causes PathTooLongException.

Released: May 2, 2024

Updates in v2024.1

Features

  • Undo/redo: Buttons (controls) are now invisible when added to a form.
  • VSIX: NuGet Package Manager is now an optional dependency.
  • VSIX: Added a template for PostSharp configuration files.
  • Removed install.ps1 from PostSharp NuGet package.
  • Added support for corporate proxies.
  • Preview license has been discontinued.
  • PostSharp Tools for Visual Studio have been integrated with Metalama Tools for Visual Studio.
  • Lowered System.Text.Json dependency version in Caching to 4.7.2.
  • Removed Deadlock...

Released: Apr 10, 2024

Updates in v2024.0.8

Fixes

  • .NET SDK x64/x86/arm64 platform switch to different SDK version produces incomplete error message.

Released: Apr 4, 2024

Updates in v2024.0.7

Fixes

  • PostSharpExtractTools fails with exception during NuGet restore in Visual Studio.
  • Pssym: PostSharp aspect on async methods are not shown in CodeLens/explorer.
  • INPC: Initializing static property map is not thread-safe.

Released: Feb 27, 2024

Updates in v2024.0.6

Features

  • Upgraded NuGet libraries (NuGet 6.7.0 has critical vulnerability.

Released: Jan 2, 2024

Updates in v2024.0

Features

  • Platform Update
    • Added full support for Microsoft .NET 8.0 and C# 12.
      • To build any project targeting .NET Standard, .NET Core, or .NET 5 or later, the .NET 6.0 SDK is now required. Older .NET Core SDKs are no longer supported.
      • The use of BinaryFormatter for aspect serialization - employed when aspects are marked with [Serializable] - is now deprecated. Although its use is harmless when used to serialize aspects, Microsoft now reports it as a security vulnerability. It is recommended to...

Released: Jan 13, 2023

Updates in v2023.x

2023.0.8

Updated Sep 13, 2023

Fixes

  • VSX: Adding aspect is offered in context menu in the code editor when PostSharp is not installed in the project.
  • ThreadAware: Initialization validation logic should be completely disabled.
  • Caching: Azure ServiceBus invalidation is timing out on .NET Core.

2023.0.7

Updated Aug 8, 2023

Fixes

  • ThreadAware: exception while initializing the aspect.

2023.0.5

Updated May 24, 2023

Fixes

  • Type names of templated ref classes declared in C++/CLI assemblies are not...