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
Dependabot opened three PRs (#100, #101, #102) bumping Avalonia packages from 11.3.10 to 12.0.3. All fail CI on every platform with:
TriasDev.Templify.Gui/App.axaml.cs(81,13): error CS0122:
'BindingPlugins' is inaccessible due to its protection level
TriasDev.Templify.Gui/App.axaml.cs(86,13): error CS0122:
'BindingPlugins' is inaccessible due to its protection level
Two issues:
Breaking API change — In Avalonia 12, BindingPlugins is no longer publicly configurable. The DataAnnotationsValidationPlugin is now disabled by default, so the manual removal in DisableAvaloniaDataAnnotationValidation() is obsolete and must be deleted.
Split bumps — Dependabot created three PRs each bumping only a subset of Avalonia packages (Desktop / Fonts.Inter / Themes.Fluent), leaving the others on 11.3.10. Avalonia packages must move together; none of these PRs is mergeable individually.
Plan
Remove DisableAvaloniaDataAnnotationValidation() and unused Avalonia.Data.Core / Avalonia.Data.Core.Plugins / System.Linq usings in App.axaml.cs.
Bump all Avalonia packages (Avalonia, Avalonia.Desktop, Avalonia.Themes.Fluent, Avalonia.Fonts.Inter, Avalonia.Diagnostics) to 12.0.3 in TriasDev.Templify.Gui.csproj.
Verify build and tests pass on all matrix targets.
Problem
Dependabot opened three PRs (#100, #101, #102) bumping Avalonia packages from
11.3.10to12.0.3. All fail CI on every platform with:Two issues:
BindingPluginsis no longer publicly configurable. TheDataAnnotationsValidationPluginis now disabled by default, so the manual removal inDisableAvaloniaDataAnnotationValidation()is obsolete and must be deleted.Plan
DisableAvaloniaDataAnnotationValidation()and unusedAvalonia.Data.Core/Avalonia.Data.Core.Plugins/System.Linqusings inApp.axaml.cs.Avalonia,Avalonia.Desktop,Avalonia.Themes.Fluent,Avalonia.Fonts.Inter,Avalonia.Diagnostics) to 12.0.3 inTriasDev.Templify.Gui.csproj.Avalonia*packages independabot.ymlso future bumps land in a single PR.References