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

4 posts, 0 answers
  1. Manoj
    Manoj avatar
    1 posts
    Member since:
    Aug 2010

    Posted 31 Oct 2014 Link to this post

    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,
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 31 Oct 2014 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. John
    John avatar
    7 posts
    Member since:
    Aug 2013

    Posted 31 Oct 2014 in reply to Vanya Pavlova Link to this post

    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.
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 05 Nov 2014 Link to this post

    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.

     
Back to Top