In visual studio I create a project and use the REST Template.
Without doing anything else, I build the project and get
Could not load file or assembly 'ESRI.ArcGIS.SOESupport, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.
I verified that the file in the references exists on the computer. It is, however, version 10.1.0.3035 - as are the rest of the referenced ESRI assemblies in the project which also exist. I suppose that means the problem must be "one of its dependencies". How do I figure out what the dependencies are?
Thanks
UPDATE: It has something to do with this line in the csproj file:
<Import Project="$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.Server.targets" Condition="Exists('$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.Server.targets')" /> When I comment it out, it builds properly.