Index (zero based) must be greater than or equal to zero and less than the size of th

4060
2
Jump to solution
12-22-2012 06:27 PM
XintaoLiu
Occasional Contributor II
I am using ArcGIS 10.1 and VS2010 C# to create a SOE project. After I created a demo project (see attached picture) and then build up the project, I got the following error:

Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

I just got confused, because I did nothing after I created the project. Any suggestion? Thanks in advance!

[ATTACH=CONFIG]20158[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
XintaoLiu
Occasional Contributor II
Please provide a screen shot of the error.  I did not see it in the image you provided.


Commented out this line  //Date = "12/22/2012 11:09:57 PM", in the AssemblyInfo.cs file, then the problem is fixed!

This is because the local date format is different with the one of VS2010.

View solution in original post

0 Kudos
2 Replies
RichardWatson
Frequent Contributor
Please provide a screen shot of the error.  I did not see it in the image you provided.
0 Kudos
XintaoLiu
Occasional Contributor II
Please provide a screen shot of the error.  I did not see it in the image you provided.


Commented out this line  //Date = "12/22/2012 11:09:57 PM", in the AssemblyInfo.cs file, then the problem is fixed!

This is because the local date format is different with the one of VS2010.
0 Kudos