问题
Everytime I try to save changes to a UserControl
that contains a chart using gantt series, Visual Studio's designer always pops up the following error message:
Array rank '2' is too high. visual studio can only load and save arrays with rank 1.
I'm compiling against Teechart for .Net 2012 4.1.2012.* and I think it has something todo with this property
[Description("MultiDimensional array to store Multiple NextTasks, with the indices being start and end task index and the value -1.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public double[,] MultipleNextTasks
of class Gantt
, but I can't imagine that this slipped the devs. What I can do is opening the code editor, then close the visual designer and simply save via the editor to persist my changes, but this is a very unsatisfying solution.
Does anyone know how to fix this permanently?
回答1:
Many thanks for your attached example and image. I can reproduce this problem using last version of TeeChartFor.Net build number 4.1.2012.01310. I have added it in bug list report with number [TF02016534] and we will try to fix it to upcoming versions of TeeChartFor.Net.
Thanks,
来源:https://stackoverflow.com/questions/15094056/teechart-gantt-series-visual-studios-designer-and-the-array-rank-2-is-too