XAML XmlnsDefinition within the AssemblyInfo.cs File
-
I must be missing something here given the fact that this should be a trivial solution. Nevertheless, here it is: I have declared a URI within the AssemblyInfo.cs file using XmlnsDefinition. The namespace I am using is referenced by the project. I then reference the uri within my XAML file as such: xmlns:myBindings="http://sources.mycompany.com/datasource" Then I declare a objectdataprovider within the resources of my XAML file: When I compile, I receive the following error: "The type reference cannot find a public type named 'LocalTimes'. However, if I declare the namespace as such: xmlns:myBindings="clr-namespace:Bindings.Time;assembly=Bindings" Everything works fine. What gives? Any help would be much appreciated. Thanks!
-
I must be missing something here given the fact that this should be a trivial solution. Nevertheless, here it is: I have declared a URI within the AssemblyInfo.cs file using XmlnsDefinition. The namespace I am using is referenced by the project. I then reference the uri within my XAML file as such: xmlns:myBindings="http://sources.mycompany.com/datasource" Then I declare a objectdataprovider within the resources of my XAML file: When I compile, I receive the following error: "The type reference cannot find a public type named 'LocalTimes'. However, if I declare the namespace as such: xmlns:myBindings="clr-namespace:Bindings.Time;assembly=Bindings" Everything works fine. What gives? Any help would be much appreciated. Thanks!