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

Telerik Controls with .Net Framework 3.5 upgradation issue in WPF.Net Framework 4.5.1 upgradation issue in WPF

3 Answers 189 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 31 Oct 2014, 05:13 AM
Hi,

After upgrading telerik dll from version "2011.1.0315.35" to version "2014.2."   there is error occour :

Could not load type 'Telerik.Windows.Controls.TemplateVisualStateAttribute' from assembly 'Telerik.Windows.Controls, Version=2014.2.729.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'. Line 2497 Position 280.' 

Is any thing missing while upgrading telerik dll.

Thanks,

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 31 Oct 2014, 12:43 PM
Hello Manoj,


Thank you for contacting us. 

Is it possible that you missed to update some of the assemblies?

Generally you need to ensure that all Telerik assemblies referenced in your project are with the same version. Within the Properties window also check whether the Copy Local option is set to True.

I look forward to hearing from you. 


Regards,
Vanya Pavlova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
John
Top achievements
Rank 1
answered on 31 Oct 2014, 06:15 PM
Hello - I am having the same issue and have posted a ticket recently (#874895). Please help. The response you gave is somewhat inadequate, in my opinion. My project has many assemblies. There is no Telerik Upgrade Wizard in my Visual Studio environment and I am manually deleting and adding the references to Telerik.Window.Controls.* one at a time but am concerned that I will have to manually revert all of this work if this process fails.
0
Petya
Telerik team
answered on 05 Nov 2014, 05:08 PM
Hi John,

While we are working on resolving the issues you contacted us about in the ticket, could you share more details on your upgrade experience? You mentioned that there is no upgrade wizard in your environment, have you installed the Telerik Visual Studio Extensions and are having troubles with the upgrade wizard or is it that you simply have not installed the extensions?

Overall, the upgrade wizard is the fastest way to change the version of Telerik UI for WPF your project uses. If you do not want to use it, your only other options is to change the binaries manually.

Since the assemblies in the suite depend on one another, your project needs to contain assemblies from a single version and the most common causes fur such errors are either a reference from another version is still added to the project or Visual Studio has cached files. In the latter case, a simple Clean and Rebuild of the project usually resolves those. Deleting the bin and obj folders that are created by Visual Studio might also help. 

Regards,
Petya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Manoj
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
John
Top achievements
Rank 1
Petya
Telerik team
Share this question
or