PostSharp MVVM v2024.0

Released: Jan 2, 2024

v2024.0 での更新項目

機能

  • 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 use [PSerializable] for your aspects. If this isn't possible, set the PostSharpBinaryFormatterAllowed MSBuild property to True.
      • Similarly, the default serializer in PostSharp.Patterns.Caching is now JsonCachingSerializer, replacing the deprecated BinarySerializer.
      • Updated all dependencies for which vulnerabilities were reported.
  • ARM64 Support
    • Added full support for ARM64 hardware across all supported operating systems: Windows ARM64, Linux ARM64, and macOS. PostSharp now runs natively on this hardware, eliminating the need for slow and cumbersome emulation. You can build projects targeting all supported platforms: .NET Framework, .NET Standard, .NET Core, and .NET 5+.
    • PostSharp Tools for Microsoft Visual Studio is now fully compatible with Visual Studio running on Windows ARM64.