Error on using an SOE project Template

915
2
Jump to solution
03-12-2013 11:02 AM
BrentHoskisson
Occasional Contributor III
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.
Tags (2)
0 Kudos
1 Solution
2 Replies
BrentHoskisson
Occasional Contributor III
That document was not in my search lists when I looked for it. It's too bad ESRI can't link to these things in the help documents.

Thanks.
0 Kudos