Dock icon indicating copy to clipboard operation
Dock copied to clipboard

Namespace conflict with Avalonia.Controls.Dock class

Open najak3d opened this issue 3 years ago • 0 comments

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

image

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.

najak3d avatar Feb 01 '22 01:02 najak3d