Custom Xaml Namespace Mapping (SL2 B2)
-
Monday, August 04, 2008 7:03 PM
Does the Xaml Parser in Beta2 support custom namespace mappings? For example, an assembly containing only custom controls and supplying the following attribute in AssemblyInfo.cs: [assembly: XmlnsDefinition("http://silverlight.net/awesomecontrols", Silverlight.Windows.Controls")]
Assembly usage works properly when I use these controls in Xaml, xmlns:myControls="clr-namespace:Silverlight.Windows.Controls;assembly=AwesomeControls", but when I try xmlns:myControls="http://silverlight.net/awesomecontrols", it will throw a XamlParseException with Unknown Namespace.
-ds
All Replies
-
Monday, August 04, 2008 7:55 PM
Not in Silverlight 2. You'll still need to do the namespace xmlns that identifies the namespace and assembly.
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is" -
Monday, August 04, 2008 8:07 PM
Is this feature on the map for RTM or is it looking more like v.next?
-
Tuesday, August 05, 2008 12:40 PM
Post v2 - v.next type of thing.
-mark
Silverlight Program Manager
Microsoft
This post is provided "as-is"

