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

scaling issue in rad chartview

4 Answers 67 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
sai
Top achievements
Rank 1
sai asked on 24 Nov 2015, 12:00 PM
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?

4 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 26 Nov 2015, 03:39 PM
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
0
sai
Top achievements
Rank 1
answered on 27 Nov 2015, 05:30 AM

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.

0
Martin Ivanov
Telerik team
answered on 30 Nov 2015, 08:57 AM
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
0
sai
Top achievements
Rank 1
answered on 30 Nov 2015, 09:06 AM

HI Martin,

 

Thanks for your response.

 

Yesterday I check with 4.0 libraries. Its works fine

thank you.

Tags
ChartView
Asked by
sai
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
sai
Top achievements
Rank 1
Share this question
or