<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Server 10.1 SOE .NET Samples Problem in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527920#M20422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created an SOE out of the VS template and was able to successfully build and deploy this, so I guess my problem was specific to the samples. Moving ahead once more &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2012 08:02:24 GMT</pubDate>
    <dc:creator>RobertJones2</dc:creator>
    <dc:date>2012-09-03T08:02:24Z</dc:date>
    <item>
      <title>Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527913#M20415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to build one/any of the .NET REST SOE samples in the SDK, but keep hitting the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example - I open the NetFindNearFeaturesRestSOE sample, and try to build the project but the following error is produced by Visual Studio:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Index (zero based) must be greater than or equal to zero and less than the size of the argument list'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking a little deeper this seems to relate to the MSBUILD file ESRI.ArcGIS.AddIns.Server.targets, and specifically the GenerateServerAddInXml task - it looks like this task/underlying .NET class is not accessible to the build process, for some reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running MSBUILD /v:diagnostic against the project yields the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; C:\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.Server.targets(37,5): error MSB4062: The "GenerateServerAddInXml" task could not be loaded from the assembly ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86. Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the &amp;lt;UsingTask&amp;gt; declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems to be this part of ESRI.ArcGIS.AddIns.Server.targets that is of interest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;!-- Custom MSBuild tasks --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="PackageAddIn" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ValidateServerAddInXMLTask" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ConvertToRelativePath" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="ResolveAddInReference" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;UsingTask AssemblyName="ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" TaskName="GenerateServerAddInXml" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;!-- Set up default zip properties --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;PropertyGroup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ZipFileExtension Condition="'$(ZipFileExtension)' == ''"&amp;gt;ecfg&amp;lt;/ZipFileExtension&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ZipIntermediatePath Condition="'$(ZipIntermediatePath)' == ''"&amp;gt;$(IntermediateOutputPath)$(ZipFileExtension)\&amp;lt;/ZipIntermediatePath&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/PropertyGroup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;PropertyGroup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BuildDependsOn&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(BuildDependsOn);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GenerateServerAddInXml;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PackageArcGISAddInContents;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RunArcGISPostPackageEvent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/BuildDependsOn&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CleanDependsOn&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(CleanDependsOn);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CleanArcGISAddin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/CleanDependsOn&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/PropertyGroup&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;Target Name="GenerateServerAddInXml"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;GenerateServerAddInXml ContentFiles="@(AddInContent)" BuildProjectPath="$(ProjectPath)" AssemblyName="$(TargetFileName)" TargetFolder="$(OutDir)" ZipIntermediatePath="$(ZipIntermediatePath)" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/Target&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone seen anything similar, and/or has any suggestions? Is there a problem with the Esri assembly, or might this be a red herring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All help gratefully received, and at least if no one has a solution someone else searching for the same problem might no feel so lonely &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 09:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527913#M20415</guid>
      <dc:creator>RobertJones2</dc:creator>
      <dc:date>2012-08-29T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527914#M20416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not working on 10.1 at the moment so I can't comment about the specific problem that you are having.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are not trying to run Visual Studio 2012, right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 10:06:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527914#M20416</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-08-29T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527915#M20417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No - VS 2010. Seeing this on a couple of different environments - both VS 2010.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 12:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527915#M20417</guid>
      <dc:creator>RobertJones2</dc:creator>
      <dc:date>2012-08-29T12:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527916#M20418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Post a screen shot of your help about box from Visual Studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you find the assembly that it is looking for on the machine?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not, then maybe you are trying to run Express or don't have the required SP installed.&amp;nbsp; Just guessing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 10:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527916#M20418</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-08-30T10:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527917#M20419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to compile the solution directly using vs2010.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527917#M20419</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2012-08-30T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527918#M20420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for responses. Good to know there isn't a problem with samples. A shame to know the problem is probably my config!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have VC# Express on one of the machines, but not on the other, so don't think that's the problem. I will double check though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527918#M20420</guid>
      <dc:creator>RobertJones2</dc:creator>
      <dc:date>2012-08-30T16:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527919#M20421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some times there can be issues about the order that things were installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you install studio or sdk first?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uninstalling one or the other may solve the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't know anything about express vs, i have the full blown version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527919#M20421</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2012-08-30T16:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527920#M20422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created an SOE out of the VS template and was able to successfully build and deploy this, so I guess my problem was specific to the samples. Moving ahead once more &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 08:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527920#M20422</guid>
      <dc:creator>RobertJones2</dc:creator>
      <dc:date>2012-09-03T08:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527921#M20423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having this problem even with the VS template. Can someone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhiling&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 20:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527921#M20423</guid>
      <dc:creator>ZhilingFei</dc:creator>
      <dc:date>2012-09-20T20:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527922#M20424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to create a plug-ins for desktop the .targets are compiled correctly, and my desktop plug-in is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to create a soe for server (using template or sample) the.targets does not compiled, and i&amp;nbsp; see the error below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using "GenerateServerAddInXml" task from assembly "ESRI.ArcGIS.AddIns.SDK, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Task "GenerateServerAddInXml"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files (x86)\MSBuild\ESRI\ESRI.ArcGIS.AddIns.Server.targets(37,5): error : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done executing task "GenerateServerAddInXml" -- FAILED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done building target "GenerateServerAddInXml" in project "RestSOE2.csproj" -- FAILED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice that in the ESRI.ArcGIS.AddIns.SDK in the GAC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) The first 4 class called in "ESRI.ArcGIS.AddIns.Server.targets" are in this namescpace "ESRI.ArcGIS.AddIns.MSBuild"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Only "GenerateServerAddInXml" class is in a Nested namespace "ESRI.ArcGIS.AddIns.SDK.ServerAddins"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's possible that the my MSBuild does not see classes that are in a nested namespace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope, I have given any information to help me with you to solve this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Max&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 10:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527922#M20424</guid>
      <dc:creator>MassimilianoGeppi</dc:creator>
      <dc:date>2012-09-21T10:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527923#M20425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also get the compile error of "Index (zero based) must be greater than or equal to zero and less than the size of the argument list." whenever I try to compile one of the SOE samples that come with the ArcObjects SDK for .NET.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also noticed that I have no Server Object Extensions templates under the ArcGIS template if I attempt to add a new project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: In my AssemblyInfo.cs I commented out the following which caused the compile to succeed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[assembly: AddInPackage("SpatialQueryREST", "69448EFA-C727-4CEC-BDE5-0D0B849D7C87",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Author = "ESRI",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Company = "ESRI",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date = "03/16/2012 12:00:00 PM",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Description = ".NET Spatial Query REST SOE Sample",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetProduct = "Server",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetVersion = "10.1",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version = "1.0")]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something tells me this is important, but is there a way to fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit2: It was the date.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 12:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527923#M20425</guid>
      <dc:creator>JustinHunter</dc:creator>
      <dc:date>2012-09-21T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527924#M20426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Justin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I commented out the Date, the error is gone and I can publish the soe to the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zhiling&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 19:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527924#M20426</guid>
      <dc:creator>ZhilingFei</dc:creator>
      <dc:date>2012-09-21T19:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527925#M20427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Justin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ve change the date format in my Assembly.cs and now, everything work fine again &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( my SO is in Italian Language dd/mm/yyyy). esri soe template wizard create a date in another format (mm/dd/yyyy) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;evidently MSBuild, during compilation freak out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Max&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 10:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527925#M20427</guid>
      <dc:creator>MassimilianoGeppi</dc:creator>
      <dc:date>2012-09-23T10:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527926#M20428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Justin.&lt;BR /&gt;&lt;BR /&gt;I ve change the date format in my Assembly.cs and now, everything work fine again &lt;BR /&gt;( my SO is in Italian Language dd/mm/yyyy). esri soe template wizard create a date in another format (mm/dd/yyyy) &lt;BR /&gt;evidently MSBuild, during compilation freak out.&lt;BR /&gt;&lt;BR /&gt;Max&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys, same problem here in New Zealand. Date format here is DD/MM/YYYY. Instead of commenting out I just changed the date to 01/01/2012 which will work on any date system.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 21:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527926#M20428</guid>
      <dc:creator>TrevorHart1</dc:creator>
      <dc:date>2012-11-13T21:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527927#M20429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks guys, same problem here in New Zealand. Date format here is DD/MM/YYYY. Instead of commenting out I just changed the date to 01/01/2012 which will work on any date system.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a known issue - SOE templates will always generate a date in US format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samples also have a date in US format. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building this on non US locales produces this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working on this and plan to fix the problem for 10.2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 16:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527927#M20429</guid>
      <dc:creator>SergeyMalgin</dc:creator>
      <dc:date>2013-04-11T16:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Server 10.1 SOE .NET Samples Problem</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527928#M20430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update 2: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A second workaround would be to remove Date property from AssemblyInfo.cs completely. In this case, build will substitute build date/time automatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 19:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/server-10-1-soe-net-samples-problem/m-p/527928#M20430</guid>
      <dc:creator>SergeyMalgin</dc:creator>
      <dc:date>2013-04-11T19:04:32Z</dc:date>
    </item>
  </channel>
</rss>

