Skip to content

[regression/8.0.0] MessagingCenter is now internal in .net 8 #16714

@JohnHDev

Description

@JohnHDev

Description

There are a large number of projects that haven't yet migrated to .NET Maui, actions like this make it more difficult to migrate from Xamarin Forms.

I know that supporting existing XF developers isn't your highest priority, but actions like this are ill thought out. Please consider reversing decisions like this.

Steps to Reproduce

Convert a XF app that uses MessagingCenter
You are now forced to refactor code to use a version from the community toolkit (and you can't see the deprecation message as the class is now internal, just says you can't use it due to protection level).

That is a poor decision from MS unless your intention is to:
Make your lives easier at the expense of 1000s of Xamarin Forms developers
Intending to make the adoption of .NET Maui more difficult

Link to public reproduction project repository

Ha, funny

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.92

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

No response

Did you find any workaround?

.NET 7 Maui, but that isn't in a great state so we are looking if we can migrate straight to .NET 8.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed-in-8.0.0-rc.1.9171Look for this fix in 8.0.0-rc.1.9171migration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androidplatform/iosplatform/macosmacOS / Mac Catalystplatform/windowspotential-regressionThis issue described a possible regression on a currently supported version., verification pendings/needs-infoIssue needs more info from the authors/not-a-bugThis isn't actually a bug, or is working as expectedt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions