Index was outside the bounds of the array. Visual Studio 11
Error 1 Index was outside the bounds of the array.
Unfortunately this seems like a bug in Visual Studio 11 Developer Preview and sadly my original Visual Studio 2010 gives the same error right now.
I could not solve this issue yet but be aware you may face with the same problem when you install Visual Studio 11 Developer Preview if you are a web developer. (WebForms - Web Site)
Also removing Developer Preview made Visual Studio 2010 crashing when you want to open it. Hopefully a new bug fix will be released by Microsoft.
You can follow this thread from asp.net; http://forums.asp.net/t/1726983.aspx/1?Index+out+of+bounds+of+the+array+error