Skip to content

Migrate GUI to Avalonia 12 #104

@vaceslav

Description

@vaceslav

Problem

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:

  1. 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.
  2. 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

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions