Skip to content

[BUG] Toast Faults on Windows #2356

Closed

Description

@david-maw

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

In .NET 9 invoking Toast on Android works fine but doing it on Windows throws an exception with a multi line error of:

Element not found.

Element not found.

Expected Behavior

A Toast notification rather than an exception on Windows.

Steps To Reproduce

Clone the repo then build and run the app on Windows, Once it is running click the button and you should see the fault.

Link to public reproduction project repository

https://github.com/david-maw/Community-Toast.git

Environment

- .NET MAUI CommunityToolkit:9.1.1
- OS:Windows 11
- .NET MAUI: 9.0.10

Anything else?

No response

Activity

  1. TheCodeTraveler commented on Nov 22, 2024

    @TheCodeTraveler
    Collaborator

    We do not yet support .NET 9.

    We are blocked from merging any PRs until we are able to merge our .NET 9 PR which is currently blocked by a bug in .NET MAUI.

    Once the MAUI engineering team resolves this bug, we will be unblocked and can resume merging PRs for the Community Toolkit: dotnet/maui#25871

    This Issue is fixed by #2215

  2. david-maw commented on Nov 22, 2024

    @david-maw
    Author

    Thanks, and sorry, I hadn't realized that .NET 9 wasn't supported yet.

  3. locked and limited conversation to collaborators on Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NET 9.0All work required to support .NET 9.0bugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions