Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I think I understand most explanations of these targets, but I get confused in the context of ArcGIS customizations like this because what we are compiling has to work in conjunction with ArcGIS, not just by itself.

We are having trouble getting our tool to register on ArcGIS Server 10.1 with esriregasm, though it works on Desktop. Build platform is one variable, so I thought I'd ask which I should build for when the intent is for the tool to be installed on ArcGIS Server 10.1.

Thank you!

share|improve this question
it does not matter. I was able use for both 32 bit and 64 bit platform – Sunil Apr 18 '13 at 11:17

I would say that you should use Any CPU for all your assemblies. Any exes will need to be compiled for x86 if they are using ArcObjects.

Here is a helpful article from Stack Overflow-

“An AnyCPU assembly will JIT to 64 bit code when loaded into 64 bit process and 32 bit when loaded into a 32 bit process.”

Here is some good info from ESRI --

ArcGIS Desktop and Engine are 32 bit applications - Run as 32 bit applications on a 64 Bit OS

Standalone applications - Set platform to x86 in Visual Studio Configuration Manager - Default is “Any CPU”

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.