This is a migrated thread and some comments may be shown as answers.

Version related Error

2 Answers 62 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
raj
Top achievements
Rank 1
raj asked on 24 Feb 2012, 11:40 AM
Hi,
I am using Telerik.Windows.Controls.RibbonBar and i tried to replace it with Telerik.Windows.Controls.RibbonView, when i did and build i got the following error.

"" Assembly 'Telerik.Windows.Controls.RibbonView, Version=2011.3.1220.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' uses 'Telerik.Windows.Controls, Version=2011.3.1220.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' which has a higher version than referenced assembly 'Telerik.Windows.Controls, Version=2011.2.920.1040, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'    c:\Program Files\Telerik\RadControls for Silverlight Q3 2011 SP1\Binaries\Silverlight\Telerik.Windows.Controls.RibbonView.dll   """

Also if i use the Telerik.Windows.Controls.RibbonBar  i am receiving this error : "Failed to create a 'System.Type' from the text 'telerikRibbonBar:RadRibbonComboBox'."" (Where i did mistake ??)

How can i resolve this problem ??
Please help me.

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 28 Feb 2012, 03:39 PM
Hello Raj,

 Please make sure that you don't have both RibbonBar and RibbonView assemblies in a single application because this is not allowed. Then in your xaml files, please remove the namespaces that references  assembly particular version. The mentioned error indicates that you have namespace in xaml defined like so: "xmlns:controls= "telerik.windows.controls ... version="2011.3.920" .Remove all such namespaces and use the telerik scheme like so: 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"


The last thing you have to do is to replace all occurrences of type telerikRibbonBar,telerikRibbonView, telerikX with "telerik".

Please let us know if this helped you.Regards,
Petar Mladenov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
raj
Top achievements
Rank 1
answered on 29 Feb 2012, 05:30 AM
Hi Petar Miadenov,
Thanks for reply, its working now.
Tags
RibbonView and RibbonWindow
Asked by
raj
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
raj
Top achievements
Rank 1
Share this question
or