PostSharp 2025.0 introduces support for .NET 9.0 along with some platform updates for Windows users.
Note
Please note that this release includes several breaking changes. Refer to Breaking Changes in PostSharp 2025.0 for more detailed information.
PostSharp Compiler
PostSharp now supports the .NET 9.0 SDK and C# 13.
PostSharp's internal build-time dependencies were upgraded. This included upgrading PostSharp .NET compiler to target .NET 8.0. Minimum supported version of SDK is now .NET SDK 8.0.
PostSharp now supports Windows Long paths if enabled in Windows. This removes some previous limitations when searching for assemblies and for aspect code. For more information, please read Microsoft Documentation.
PostSharp's support of Windows PDB was revamped, and now uses Microsoft libraries for both reading and writing PDBs. This allowed for supporting newer WindowsPDB features like embedded source and source-link, along with many other minor improvements.
PostSharp Pattern Libraries
- Dependencies of pattern libraries were upgraded to versions without known security vulnerabilities.
- Weak event primitive used in
[NotifyPropertyChanged]
and[WeakEvent]
was significantly optimized to improve performance in edge cases. The amortized complexity profile now matches that of a manually written event-field.