I am getting the following exception when I run my UI add-on in release mode in Visual Studio 2003:
An unhandled exception of type System.IndexOutOfRangeException occurred in mscorlib.dll .
Additional Information: Index was outside of the bounds of the array.
It runs fine in Debug mode. I am running the add-on in B1 2005A SP01 PL16. Then to test the SDK, I ran the "Hello World" sample program and it also gives me the error in release mode but not in debug mode. I compiled the addon in 2004A and 2005 A SP00 successfully a while ago with no problem. Has any one come across this error?