Skip to content

v12 Regression: Moving OptionalFeatureProviderExtensions from Avalonia.Platform to Avalonia namespace breaks compatibility #20713

@fitdev

Description

@fitdev

Describe the bug

As part of #20589 OptionalFeatureProviderExtensions was moved from Avalonia.Platform namespace to Avalonia, which breaks binary compatibility with some well known libs like LiveCharts2 for example. This results in Type Load Exception at runtime.

To Reproduce

Try using LiveCharts2 with Avalonia 12.

Expected behavior

If at all possible OptionalFeatureProviderExtensions should remain in Avalonia.Platform or else be properly type-forwarded.

Avalonia version

12 Preview 1

OS

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    by-designThe behavior reported in the issue is actually correct.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions