Hello,
We are trying to upgrade from XamChart 9.1 to XamDataChart 12.1.
So far everything seems to work, but the warnings have appeared in the project telling that XamDataChart class and a couple of other classes are not CLS-compliant. With the old version of the chart, no such warnings appeared.
For now we are using trial libraries, maybe this causes the issue. We are uncertain though if we will upgrade to a CLS noncompliant control at all.
Please tell if there is a way to use XamDataChart 12.1 without CLS-compliance warnings.
Could you send one of these warnings? I'm not aware of any CLS warnings triggered by the chart. Is there a line of code that it is warning you about in your project where you are using a certain feature?
Here it is. My project is referenced to InfragisticsWPF4.Controls.Charts.XamDataChart.v12.1.dll library.
[assembly: System.CLSCompliant(true)]public class ChartWrapper{ // warning CS3001: Argument type 'Infragistics.Controls.Charts.XamDataChart' is not CLS-compliant public ChartWrapper(Infragistics.Controls.Charts.XamDataChart chart) { }}
It seems a few protected fields have been added that have non CLS-Complaint names. I've submitted a bug for this with number: 117880. In this instance, I wouldn't be overly concerned unless you are trying to extend any of the built in series types that have the non compliant protected field names.
-Graham
Thank you.
It's the warnings we are concerned about though, as we do not accept builds with warnings.
For now I just made ChartWrapper class internal and added InternalsVisibleTo attribute to containing assembly, but, as you understand, that is a hack.
Will the bugfix get to current or next version?
Hello Alexander,
I have created a private ticket for you (CAS-98132-Z1B2M9) and linked it to the dev issue Graham has submitted (117880), so that you can be notified when it gets fixed. I also will need some more information, so I will update you trough the case.