Skip to content

[BUG] Unable to use the latest version with .net 10 maui #403

@HobDev

Description

@HobDev

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

The following error is being raised in VSCode when using the latest version 6.0.1 of CommunityToolkit.Maui.Markup package with the latest version 10.0.10 of Microsoft.Maui.Controls

[{
"resource": "{solution path}",
"owner": "maui",
"code": "NU1608",
"severity": 4,
"message": "Detected package version outside of dependency constraint: CommunityToolkit.Maui.Markup 6.0.1 requires Microsoft.Maui.Controls (>= 9.0.60 && < 10.0.0) but version Microsoft.Maui.Controls 10.0.10 was resolved.",
"source": "maui",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]

Expected Behavior

The latest version should be compatible with .net 10

Steps To Reproduce

Create new maui .net 10 project and install the latest 6.0.1 version of CommunityToolkit.Maui.Markup

Link to public reproduction project repository

NA

Environment

- .NET MAUI C# Markup CommunityToolkit:6.0.1
- OS:MacOS 15.7.1
- .NET MAUI:10.0.10

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingunverifiedBug has not been verified by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions