Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

1 Answer 1

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.”

http://stackoverflow.com/questions/516730/what-does-the-visual-studio-any-cpu-target-mean

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”

http://proceedings.esri.com/library/userconf/devsummit11/papers/tech/arcgis_10_desktop_developer_migration_topics.pdf

share|improve this answer

Your Answer

 
discard

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.