ESRI.ArcGIS.SOESupport reference doesn't exist.
I have not written an SOE before and am looking to create one, I've been told that performance on an SOE for tasks that will be run frequently or have high resource demands is better than using a geoprocessing service. I have Visual Studio 2013 and 2012 Pro installed on a Windows 7 machine. I have installed the ArcObjects SDK for .NET from the ArcGIS 10.2.2 Desktop and Server disks (hoping one would work). There isn't a template for VS 2013, but when I use VS 2012 I can go to New > Project > ArcGIS > Server Object Extension and there is a template for REST and SOAP projects using .NET 3.5 or 4.0. I have tried creating projects using .NET 3.5 and 4 and selecting the REST SOE project template. It doesn't matter what I do (I have also repaired and modified the SDK), every project that I create shows that ESRI.ArcGIS.SOESupport does not exist.
Error message: "The type or namespace name 'SOESupport' does not exist in the namespace 'ESRI.ArcGIS' (are you missing an assembly reference?)"
What am I missing?
I was going to start going through the walkthrough at ArcObjects Help for .NET developers , if there is a better or more current walkthrough please let me know.
Solved! Go to Solution.
Do you have ArcGIS Server installed in your development machine? If you don't, the missing 'ESRI.ArcGIS.SOESupport' dll file is located at C:\Program Files\ArcGIS\DeveloperKit10.2\bin folder, you can either use the gacutil.exe to register the dll into GAC or directly drop the dll into the C:\Windows\assembly using Windows Explorer.
Do you have ArcGIS Server installed in your development machine? If you don't, the missing 'ESRI.ArcGIS.SOESupport' dll file is located at C:\Program Files\ArcGIS\DeveloperKit10.2\bin folder, you can either use the gacutil.exe to register the dll into GAC or directly drop the dll into the C:\Windows\assembly using Windows Explorer.
For anyone else reading this, Erwin was also nice enough to send me some instructions for using the gacutility since I had never used it before.
Here are the steps below:
3. Reopen the SOE project in Visual Studio->Clean Solution->Build Solution again. The build should be succeded this time.
You can also use command prompt or VS2012 x86 Native Tools Command Prompt for Visual Studio 2012.
I have ArcGIS Desktop 10.4 installed and don't see the SOESupport.dll in either the ArcGIS or ArcGIS SDKs\DotNet10.2.7 folders. Where do I get the SOESupport.dll from?
George,
You must install the SDK available to download under ArcGIS Desktop 10.4 at My Esri site.
The dll is in: C:\Program Files (x86)\ArcGIS\DeveloperKit10.4\bin\ESRI.ArcGIS.SOESupport.dll