Skip to content

Using a compatibility renderer on Windows fails to render the control #8906

Open
@egvijayanand

Description

@egvijayanand

Description

Using a compatibility renderer on Windows fails to render the control.

Have defined a custom control and its renderer then registered the same in the startup pipeline.

Then built the app and launched the app, but it's not rendering any output corresponding to the custom control.

This is a follow-up issue for #8183 as initially, the app crashed on startup while using AddCompatibilityRenderer in the startup pipeline.

Then as suggested, modified it to the AddHandler method call, it stopped the crash but still, the output is not rendered.

Steps to Reproduce

  1. Clone the repository from the GitHub https://github.com/egvijayanand/maui-issue-8183
  2. Navigate to the src folder
  3. Open the Issue8183 solution
  4. Set Windows as the platform target, then build and launch the app

Version with bug

6.0.408 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041

Did you find any workaround?

Nope.

Relevant log output

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-compatibilityIssues related to features in the Compatibility Nugetmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/windows 🪟s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions