Open wieslawsoltes opened 1 week ago
In Avalonia you can write xmlns:sys="using:System"
without specifying any assembly, which I use often for this namespace.
Doesn't the same work for [assembly: XmlnsDefinition("https://github.com/avaloniaui ", "System")]
?
In Avalonia you can write
xmlns:sys="using:System"
without specifying any assembly, which I use often for this namespace. Doesn't the same work for[assembly: XmlnsDefinition("https://github.com/avaloniaui ", "System")]
?
[assembly: XmlnsDefinition("https://github.com/avaloniaui ", "System")]
does not work
Here is my test project https://github.com/wieslawsoltes/TupleDemo
Is your feature request related to a problem? Please describe.
I want to include types into
https://github.com/avaloniaui
namespace and to do that I want to useXmlnsDefinition
but it does not supportAssemblyName
(you can add AssemblyName when usingxmlns
inside xaml file e.g.xmlns:sys="clr-namespace:System;assembly=mscorlib")
Describe the solution you'd like
Instead defining each time xmlns in xaml files like
xmlns:sys="clr-namespace:System;assembly=mscorlib"
I want to include them in Avalonia namespace viaXmlnsDefinition
Describe alternatives you've considered
No response
Additional context
Instead:
we could have clean xaml syntax: