G
Guest
I am working on a solution which has a number of forms. At some point, mostly
during builds, I get an error message box displaying the following line of
text:
Array rank '2' is too high.
A search of the on-line doc reveals the following explanation:
"Visual Studio only supports single-dimension arrays in the code block that
is parsed by the designer. Multidimensional arrays are valid outside this
area."
The original error message box does not point to a code location where the
error occurred, presumably in a xxx.Designer.cs file. A text search in the
entire solution reveals nothing.
This is an apparently benign message in that execution proceeds as expected
but the behaviour is very annoying.
Anybody have any suggestions on how I might find the source of the problem?
To MS people, is there any reason why the message box can't be a little more
helpful.
Thanks in advance.
Bob Costello
during builds, I get an error message box displaying the following line of
text:
Array rank '2' is too high.
A search of the on-line doc reveals the following explanation:
"Visual Studio only supports single-dimension arrays in the code block that
is parsed by the designer. Multidimensional arrays are valid outside this
area."
The original error message box does not point to a code location where the
error occurred, presumably in a xxx.Designer.cs file. A text search in the
entire solution reveals nothing.
This is an apparently benign message in that execution proceeds as expected
but the behaviour is very annoying.
Anybody have any suggestions on how I might find the source of the problem?
To MS people, is there any reason why the message box can't be a little more
helpful.
Thanks in advance.
Bob Costello