I get this error after I created a class from my xsd file using the xsd.exe tool. So I searched the net and found a solution. Here is the link: http://satov.blogspot.com/200
I got this error.In your solution there is reference.cs file in that file you need to search "[][]" and then there will be two results in it..
After you need to remove one "[]" from "[][]" from both places..
It works for me..
Thanks..