Maui: [BUG] SelectAllText behavior is not accessible after updating the CommunityToolkit from version 9.0.2 to 9.0.3?

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 SelectAllText behavior is not accessible from the toolkit after updating the NuGet packages, resulting in the error: “Cannot resolve type ‘http://schemas.microsoft.com/dotnet/2022/maui/toolkit:toolkit:SelectAllTextBehavior’.”

Expected Behavior

Is there an alternative behavior in version 9.0.3 of the Community Toolkit for selecting all text in .NET MAUI? I want to select all the text when clicking on the entry.

Steps To Reproduce

Access the toolkit:SelectAllTextBehavior in XAML after adding the Toolkit namespace with xmlns:toolkit=“http://schemas.microsoft.com/dotnet/2022/maui/toolkit”.

Link to public reproduction project repository

Environment

- .NET MAUI CommunityToolkit: 9.0.3
- OS: Android & IOS
- .NET MAUI: net8.0

Anything else?

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

What’s the reason for using a multi project solution?

@bijington Thanks, it build success without any errors after updating the visual studio.

The behavior is still in the library. Have you tried a clean and rebuild or restarting visual studio?