NameSpace issues.

2 posts, 0 answers
  1. Ravi
    Ravi avatar
    96 posts
    Member since:
    Jun 2012

    Posted 17 May 2013 Link to this post

    Hi There,

    I am trying to use the some namespaces

    xmlns:Telerik_Windows_Controls_Primitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:Telerik_Windows_Controls_TabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:Telerik_Windows_Controls_Chromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"

    but i am getting some compile time errors which are related to thsse assemblies.

    Version which i am referencing is: 2013.1.507.40

    Errors:
    Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Telerik.Windows.Controls.Chromes' that could not be found.

    Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Telerik.Windows.Controls.TabControl' that could not be found

    Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Telerik.Windows.Controls.Primitives' that could not be found.

    can you please tell me how can i solver these issues.

    Regards,
    Srinivas.


  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    2958 posts
    Member since:
    Apr 2014

    Posted 21 May 2013 Link to this post

    Hi Srinivas,
     
    As soon as I reference the Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Navigation.dll in my solution, I can successfully add and use the aliases(namepsaces) you posted. However, please note that in VS2012 there might be design-time issues with namespaces that don't use the schema naming convention. However these issues only come up in the design-time of the studio and despite the fact that the aliases may be underlined as incorrect or unknown, you can still use them and run the solution as expected.

    I tested the aliases you provided in Silverlight and WPF solutions, but I was able to use them properly in both projects. So can you please make sure you've referenced the proper Telerik Silverlight assemblies in your Silverlight project (or Telerik WPF assemblies if you're building a WPF solution). And if you still experience issues, please start a support ticket and attach your sample so that we can take a closer look at it on our side.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft Release
Back to Top