Dock
Dock copied to clipboard
Namespace conflict with Avalonia.Controls.Dock class
I filed this same issue on Avalonia.Markup.Declarative, since it exposes this naming conflict. Combing your library with this one, causes a compiler error, as shown here:
https://github.com/AvaloniaUI/Avalonia.Markup.Declarative/issues/4#issuecomment-1025938845
It's easy to resolve. But exposes the core issue of having a simple/common name at the root of a namespace, such as "Dock". I wanted you to be aware of it, so you can consider if you are thinking of changing your root namespace to something else.
Otherwise, the quick/cheap fix is just to make sure to use full namespace for the "Avalonia.Controls.Dock" class.