WinUI.TableView icon indicating copy to clipboard operation
WinUI.TableView copied to clipboard

Possible conflict with newest Xaml.Behaviors

Open arthurits opened this issue 11 months ago • 3 comments

Description:

It seems that the latest update of NuGet package Microsoft.Xaml.Behaviors.WinUI.Managed (version 3.0.0, January 27th 2025) throws the following building errors when WinUI.TableView package is also installed in the solution.

  • PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry
  • PRI277: 0x80073b0f - Conflicting values for resource 'Microsoft.Xaml.Interactivity/Strings/CannotAttachBehaviorMultipleTimesExceptionMessage'

Reverting back to Xaml.Behaviors version 2.0.9 solves the problem whatsoever.

Environment:

  • Package Version: 1.2.2
  • WinAppSDK Version: 1.6.250108002

arthurits avatar Jan 31 '25 10:01 arthurits

is there any workaround available for this issue?

w-ahmad avatar Feb 15 '25 20:02 w-ahmad

Hi @w-ahmad, I'm afraid I have no clue how to tackle this possible bug. 🤷‍♂️

arthurits avatar Feb 17 '25 07:02 arthurits

@arthurits the only solution for thia issue is by upgrading CommunityToolkit.WinUI.Behaviors to v.8.2. I'll do that once it's out of preview.

w-ahmad avatar Feb 18 '25 08:02 w-ahmad