Upgrade AvalonDock from 1.3 to 2.0

Viewed 7201

I'm trying to upgrade AvalonDock in a application from 1.3 to 2.0 but there exist little to no documentation on this.

I look at the simple, imported it by doing this

xmlns:avalonDock="http://avalondock.codeplex.com"

However this did not work.

Error   The tag 'DockingManager' does not exist in XML namespace 'http://avalondock.codeplex.com'. Line 41 Position 10.

I also tried it the old way.

xmlns:avalonDock="clr-namespace:AvalonDock;assembly=AvalonDock"

Neither did this work

Error   The tag 'ResizingPanel' does not exist in XML namespace 'clr-namespace:AvalonDock;assembly=AvalonDock'. Line 71 Position 22.

If they have renamed the controls it would be useful to have a list of the controls now existing in 2.0.

I tried to compile the simple code as it was but without success.

6 Answers

In my case I had two issues, first was file was blocked and it had to be resolved by unblocking it from file explorer.

enter image description here

Second I had to change the reference to the new address. Change from the following link that listed on AvalodDock Documentation

xmlns:avalonDock="http://avalondock.codeplex.com"

to the new link

xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"

Which also shows up in Intellisense

enter image description here

I'm running.

AvalonDock version:2.0.2000.0

.NET Framework 4.6.1

Related