Upgrading to the Latest SfChart is throwing error - CS0012

Hi,

Back in Nov 2019, I was building the app on Syncfusion XfChart version 16. Everything was working fine.

However, I came back to project after few months and I upgraded to the latest version 16, I am getting the below error for everything that is referred to ChartDataPoint (Syncfusion.SfChart.XForms.ChartDataPoint).

Please help me with it.

Thanks!

Error

Error CS0012: The type 'IComparable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. (CS0012) 



Attachment: Screen_Shot_20200430_at_11.06.18_PM.png_939d6e2e.zip

1 Reply

DD Devakumar Dhanapoosanam Syncfusion Team May 4, 2020 08:18 AM UTC

Hi Akash, 
 
Greetings from Syncfusion. 
 
We have upgraded our controls to .NET Standard 2.0 version from Essential Studio 17.2.0.28 version and mentioned it in the release notes.  
  
  
So, can you please upgrade your application to .NET Standard 2.0 version. You can refer the below link for upgrading to .NET standard 2.0 version.  
  
  
Please let us know if you have any concerns. 
 
Regards, 
Devakumar D 


Loader.
Up arrow icon