scaling issue in rad chartview

5 posts, 0 answers
  1. sai
    sai avatar
    43 posts
    Member since:
    Feb 2015

    Posted 24 Nov 2015 Link to this post

    HI
    I have Installed the TelerikUIForWpfSetup_2015_3_1104
    And copied the libraries from my c-drive respective path C:\Program Files (x86)\Telerik\UI for WPF Q3 2015\Binaries\WPF40
    Curently i am using Dot Net framework 4.0 in my project.
    After updating the latest libraries in my project i am getting below build error.
    Please help me on this.this is issue compleatly blocked my work.
    Error 11 Unknown build error, 'Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

    When i google about this.
    i noticed that i am using dotnet 4.0.and the telerik latest version need dot net 4.5 to use the latest libraries in my project.
    i want to implement smart labels mode in my project for that reason i need to upgrade to latets telerik libraries.

    can you please suggest which version of telerik libraries have smart labels mode feature and that will support the dot net 4.0 framework?
  2. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 26 Nov 2015 Link to this post

    Hi Sai,

    The Telerik UI for WPF suite is shipped with support for both .NET 4 and .NET 4.5 so you can use our controls under both versions of the framework. You only have to reference the correct assemblies. As for the error, without your project I cannot be sure what is causing it. However, I can suggest you to try the following:
    • Make sure that all referenced Telerik assemblies are of the same version - .NET and release versions.
    • Make sure that the referenced Telerik assemblies build .NET framework matches the project's Target framework.
    • Manually delete the "bin" and "obj" folders of the project and then Clean, and Rebuild the solution.
    • This exception could appear if you try to run a project build under .NET 4.5 on a machine which doesn't have it installed or the installed version is older. So ensure, that the project's Target framework matches or it is older than the installed on the machine .NET version.
    Please let me know if this information resolves the error.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. sai
    sai avatar
    43 posts
    Member since:
    Feb 2015

    Posted 26 Nov 2015 in reply to Martin Link to this post

    HI,

     

    I have Installed the TelerikUIForWpfSetup_2015_3_1104

    From the installation folder i have taken the libraries.the below is the path

    And copied the libraries from my c-drive respective path C:\Program Files (x86)\Telerik\UI for WPF Q3 2015\Binaries\WPF40

     Please tel me the above installer version and the path are wont support for Dot Net 4.0 framework?

    or you please suggest me the corrrect installer and path which supports the Dot Net framework4.0.

  5. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 30 Nov 2015 Link to this post

    Hello Sai,

    The path from your last reply is leading to the folder with the UI for WPF dlls build for the .NET 4 version. So, if you reference those assemblies in a project with its Target framework set to .NET 4.0 (or higher) you can use the Telerik controls without any issues. On the other hand the ../Binaries/WPF45 contains the assemblies for the .NET 4.5 framework. In other words, the path from your reply is correct for a project set up for .NET 4.0.

    Can you please confirm that you tried the suggestions from my last reply? Basically, you can check the target framework of the project and also if you have installed at least .NET 4.0 on your machine. If this doesn't help you can consider opening a new support ticket from your account and attach your project and the referenced assemblies. This way your case could be tested and if reproduced you can get proper assistance.

    I hope this helps.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. sai
    sai avatar
    43 posts
    Member since:
    Feb 2015

    Posted 30 Nov 2015 in reply to Martin Link to this post

    HI Martin,

     

    Thanks for your response.

     

    Yesterday I check with 4.0 libraries. Its works fine

    thank you.

Back to Top
UI for WPF is Visual Studio 2017 Ready