QuickAccessToolBar Serialize/Deserialize Error after Upgrade

Ribbon for WPF Forum

Posted 13 years ago by Brad Leach
Version: 11.1.0543
Avatar
Greetings,

We've recently updated from v9.1.504 to v11.1.542 for one of our applications.
In the application, we allow our users to customize the Quick Access Toolbar items. We use the standard SerializeQuickAccessToolBarItems() and DeserializeQuickAccessToolBarItems() to manage the customized item list. However, after the upgrade, the deserialzation fails (as it was serialized with the v9.1.504 dll's.

Have you guys got any strategies on how we can fix this issue? We considered doing a regex replace on the serialized file, but if you have any other suggestions, we'd be grateful to hear them. We would prefer our users to be able to keep their settings for this area of the system.

Cheers,
-Brad

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Brad,

It is probably due to this line in the serialized output:
xmlns="clr-namespace:ActiproSoftware.Windows.Controls.Ribbon.Customization;assembly=ActiproSoftware.Ribbon.Wpf351"
since I think the assembly name changed since 2009.1 (used to end with .Wpf30).

I agree that a regex replace is probably the best way to proceed to fix that.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.