Hi ya'll
Consider 3 assemblies:
- EntryPoint (SL app)
- ClassLibraryA
- ClassLibraryB
Where there is a class A in ClassLibraryAand a class B in ClassLibraryB
EntryPoint has a reference to ClassLibraryA, and ClassLibraryAhas a reference to ClassLibraryB.
In the AssemblyInfo of ClassLibrary1 I have the following code:
[assembly: XmlnsPrefix("http://schemas.test.com/sl/", "test")]
[assembly: XmlnsDefinition("http://schemas.test.com/sl/", "ClassLibraryA")]
[assembly: XmlnsDefinition("http://schemas.test.com/sl/", "ClassLibraryB", AssemblyName = "ClassLibraryB")]
A and B are both FrameworkElements
The problem is that in my MainPage, when I have this xaml:
xmlns:test="http://schemas.test.com/sl/"
the following doesn't work:
<test:B x:Name="bar" />
while this works:
<test:A x:Name="foo" />
Why not?