user2391685
user2391685

Reputation: 1066

The name 'DockingManager" does not exist in namespace http://schemas.xceed.com/wpf/xaml/avalondock

In a C# WPF project, I added Xceed.Wpf.AvalonDock into References. In xaml file, I have

xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock"
...
<xcad:DockingManager x:Name="DockMangager" Grid.Column="0" Grid.Row="1">
</xcad:DockingManager>

Could someone help? Thank you!

Upvotes: 4

Views: 2409

Answers (3)

user8321182
user8321182

Reputation:

Add the reference to the project again and the error will go away. it is always good after adding references to clear the recent to make sure that unchecked references are not being removed.

Upvotes: 0

pStan
pStan

Reputation: 1104

Just had this happen to me. Mine were not blocked. My references had a yellow warning by them. I just added the Xceed DLLs again, rebuilt, and all is well.

Upvotes: 0

Flat Eric
Flat Eric

Reputation: 8111

This is a security problem of the dll when downloaded from the internet.

  • Go to the Xceed.Wpf.AvalonDock.dll file in Windows explorer
  • Open "Properties"
  • On the bottom of the dialog there is a warning under "Security"
  • Click on "Unblock"
  • Rebuild the project

You can also read this:
http://www.kodyaz.com/visual-studio/unblock-assembly-file-in-visual-studio-2012.aspx

Upvotes: 4

Related Questions