Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] mct:EventToCommandBehavior not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit #2397

Open
2 tasks done
jamesv-7 opened this issue Dec 19, 2024 · 3 comments
Labels
bug Something isn't working unverified

Comments

@jamesv-7
Copy link

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

I am using your Samples project from this GitHub repo because I was having issues with every version of MauiComminutyToolkit since 9.0.3

When I run your sample project i get the following error when I click on any of the following Behaviors. I did not test them all. But these are not working.

Position 25:18. Type mct:EventToCommandBehavior not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit

AnimationBehavior
EventToCommandBehavior
MaskedBehavior

In my personal project I'm getting the following error

Type toolkit:StatusBarBehavior not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit
Type toolkit:TextCaseConverter not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit
Type toolkit:InvertedBoolConverter not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit
Type toolkit:EventToCommandBehavior not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit
Type toolkit:IntToBoolConverter not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit
Type toolkit:IconTintColorBehavior not found in xmlns http://schemas.microsoft.com/dotnet/2022/maui/toolkit

here is my global.json file

{
"sdk": {
"version": "9.0.101",
"rollForward": "latestFeature",
"allowPrerelease": false
}
}

Expected Behavior

I would expect the behaviors and converters to reference correctly.

Steps To Reproduce

  1. Run your samples project from this GitHub repo - i added it below as well
  2. Click on the Flyout
  3. Select Behaviors
  4. Click EventToCommandBehavior

Link to public reproduction project repository

https://github.com/jamesv-7/CommunityToolkit-10.0-Issues

Environment

- .NET MAUI CommunityToolkit:
- OS: MAC Sequoia 15.1
- .NET MAUI: 9.0
- XCode 16.1

Anything else?

No response

@jamesv-7 jamesv-7 added bug Something isn't working unverified labels Dec 19, 2024
@jamesingreersc

This comment has been minimized.

@brminnick
Copy link
Collaborator

brminnick commented Dec 19, 2024

@jamesingreersc Your issue is not related. Here's the relevant excerpt from the Release Notes to fix your issue:
Image

@jamesingreersc
Copy link

@brminnick ahhh, release notes :) Thats what I get for updating all nugets at once without reading them. Just tested with the new BindingContext and it's working just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

3 participants