You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description:"All attributes targeting the generated property for a field annotated with [ObservableProperty] must be using valid expressions.");
639
638
640
639
/// <summary>
641
640
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when a method with <c>[RelayCommand]</c> is using an invalid attribute targeting the field or property.
@@ -650,8 +649,7 @@ internal static class DiagnosticDescriptors
650
649
category:typeof(RelayCommandGenerator).FullName,
651
650
defaultSeverity:DiagnosticSeverity.Error,
652
651
isEnabledByDefault:true,
653
-
description:"All attributes targeting the generated field or property for a method annotated with [RelayCommand] must be using valid expressions.",
description:"Project producing one or more 'MVVMTK0045' warnings due to [ObservableProperty] being used on fields, which is not AOT compatible in WinRT scenarios, should set 'LangVersion' to 'preview' to enable partial properties and the associated code fixer because (setting 'LangVersion=preview' is required to use [ObservableProperty] on partial properties and address these warnings).",
859
+
description:"This project producing one or more 'MVVMTK0045' warnings due to [ObservableProperty] being used on fields, which is not AOT compatible in WinRT scenarios, should set 'LangVersion' to 'preview' to enable partial properties and the associated code fixer (setting 'LangVersion=preview' is required to use [ObservableProperty] on partial properties and address these warnings).",
0 commit comments