Skip to content

Is WinUI.TableView suitable for AOT ?Β #140

@DiagProf

Description

@DiagProf

First of all, thank you for the project.

I have a Winui3 application where I managed to set everything up so that it compiles AOT.

But now I'm failing with the WinUI.TableView.

As soon as I set PublishAot to true true I get this error:

ICustomProperty support used by XAML binding for type 'WinUI.TableView.TableViewRow' (property 'TableView') requires the type to marked with 'WinRT.GeneratedBindableCustomPropertyAttribute'. If this is a built-in type or a type that can't be marked, a wrapper type should be used around it that is marked to enable this support.

Unfortunately, I have no idea what I could do to solve the problem.

Attached is a small example project.

TableViewTest.zip

It would be nice if there was a solution. I just need the TableView as a display without any bells and whistles.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions