question

01195804 avatar image
0 Votes"
01195804 asked 01195804 commented

For xmlns:behaviors="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" which NuGet packet I need to use ?

Hi,
For xmlns:behaviors="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" which NuGet packet I need to use ?
Thanks,

dotnet-maui
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RobCaplan avatar image
0 Votes"
RobCaplan answered 01195804 commented

That namespace is from the MAUI Community Toolkit Search Nuget for CommunityToolkit.Maui. See https://docs.microsoft.com/en-us/dotnet/communitytoolkit/maui/get-started for information and instructions on how to use it.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I added this package and got this error:

200904-image.png

200857-image.png


0 Votes 0 ·
image.png (92.4 KiB)
image.png (60.6 KiB)

Please only post answers as answers. It's generally best to edit updates to the overall scenario into the original post. Posting an answer suggests that you have a solution and don't need more help on this.
See When to use answers or comments

I'm not sure what error you're getting or why. Can you please post the text of the error and your Xaml in your question (use the code tag). Posting images of text are at best hard to read.

0 Votes 0 ·

The namesapce is: xmlns:behaviors="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
The error is:
Severity Code Description Project File Line Suppression State
Error XFC0000 Cannot resolve type "http://schemas.microsoft.com/dotnet/2022/maui/toolkit:behaviors:EventToCommandBehavior". AutomationClient.MAUI D:\Applications\AutomationClient\AutomationClient.MAUI\Views\RulesView.xaml 45

0 Votes 0 ·
Show more comments