Announcing .NET Community Toolkit 8.4
The 8.4 release of the .NET Community Toolkit lands one of the MVVM Toolkit’s most requested features — partial property support — alongside a big batch of new analyzers, a migration code fixer, and assorted fixes and performance improvements.
What you’ll learn
- Partial properties for
[ObservableProperty]— how the .NET 9 SDK’s partial and semi-auto (fieldkeyword) properties let you declare observable properties that integrate cleanly with C#, including custom accessibility, attributes, and modifiers likenew,sealed,override, andrequired - Native AOT for WinRT — why moving to partial properties makes
[ObservableProperty]fully AOT safe for UWP and WinUI 3 apps using CsWinRT - A one-click code fixer — how to migrate every
[ObservableProperty]field in your solution to partial properties automatically, plus the<LangVersion>preview</LangVersion>requirement to enable it - A wave of new analyzers — the MVVMTK0041–MVVMTK0055 diagnostics that catch invalid declarations, guide AOT-safe patterns, and flag unsupported combinations with
[GeneratedBindableCustomProperty] - Other improvements — Windows SDK version validation, attribute forwarding to accessors, a new
AsStream()extension overReadOnlySequence<byte>, and more
Read the full announcement for code examples, the complete diagnostic list, and links to get started with the 8.4 release.