This is a migrated thread and some comments may be shown as answers.
NameSpace issues.
1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 17 May 2013, 10:23 AM
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.


1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 21 May 2013, 12:08 PM
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.

Asked by
Ravi
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or