Teechart, Gantt Series, Visual Studio's Designer And The “Array rank '2' is too high” Error

假如想象 提交于 2019-12-12 18:29:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!