Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

The control might be incompatible with forthcoming WinUI3 library #89

@markachus

Description

@markachus

Windows UI LIbrary 3 is about to be released shortly in 2021
As explained here, this library expands WinUI2 and makes it available to different types of windows applications (e.g win32) and not only to UWP.

The point is this forthcoming version introduces some breaking changes affecting the Xaml UI namespaces that makes VLC.MediaElement non-compatible with WinUI3. You can find these changes in the WinUI3 Limitations and Known Issues

One of the key changes is the rename or "moving" of the namespace Windows.UI.Xaml.Controls to Microsoft.UI.Xaml.Controls which will surely affect the control compatibility in the future since VLC.MediaElement derives from Windows.UI.Xaml.Control.

In my case amb migrating a project that uses VLC.MediaElement to WinUI3 (lets' say a have no choice) and my code is breaking saying:
Cannot add 'MediaElement' into the collection property 'Children', type must be 'UIElement'.

This issue is just to warn the owner that the control might be, in a while, non-usable if no migration is planned.

Hope this helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions