MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
toolkit
Search

Microsoft .NET Community Toolkit backs partial properties

Friday December 13, 2024. 10:00 AM , from InfoWorld
Microsoft has released.NET Community Toolkit 8.4, with support for partial properties in MVVM Toolkit source generators as well as new MVVM Toolkit diagnostic analyzers.

The update was unveiled December 12. Source code for the.NET Community Toolkit can be found on GitHub.

Partial properties now are available thanks to new C# language features in the.NET 9 SDK. MVVM Toolkit source generators now will leverage partial properties and semi-auto properties for defining observable properties. Declaring properties is now integrated with the C# language, instead of the MVVM Toolkit creating a new property and inferring its characteristics based on the annotated field..NET Community Toolkit 8.4 also introduces 16 new diagnostics to the set of analyzers in the MVVM Toolkit, providing both general code analysis for MVVM scenarios and CsWinRT trim/AOT code analysis for UWP and WinUI 3.

In other changes and improvements, the MVVM Toolkit now includes MSBuild logic for friendly error messages when using an incorrect version of the Windows SDK package, and suggests how to fix it and which version to use. Custom diagnostic suppressions now work correctly when using custom attribute targets on [ObservableProperty] fields. More WinRT analyzers have been added for class-level attributes. And NuGet packages can be updated to the latest stable version..NET Community Toolkit is a collection of helpers and APIs that work for.NET developers. It is agnostic of any specific UI platform..NET Community Toolkit 8.4 follows the August release of.NET Community Toolkit 8.3, which brought support for.NET 8 and NativeAOT. 
https://www.infoworld.com/article/3623923/microsoft-net-community-toolkit-backs-partial-properties.h

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Dec, Mon 23 - 21:06 CET