I suggest you ...

Make XmlnsDefinition work inside the same assembly

I can define XmlnsDefinitions to group my different namespaces from one assembly:

MyLibrary.dll
-> [assembly: XmlnsDefinition("myXamlNameSpace","My.Clr.Namespace")]
-> [assembly: XmlnsDefinition("myXamlNameSpace","My.Other.Clr.Namespace")]

and use it from ANOTHER assembly:

<Window xmlns="....."
xmlns:my="myXamlNamespace"
.... />

However, this doesn't work within the SAME assembly where the XmlnsAttributes are defined.

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    HighCore shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base