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

The Addin system doesn't seem to be perfect. When I update the Addin in the network share, the version number immediately gets updated in the ArcMap Addin Manager, even though the updated binaries have not been loaded into the Assembly Cache. This can confuse people whether they have the most current version actually loaded.

I am trying to compare the version of the actual binary, to the version ArcMap thinks it has installed. Getting the binary version is easy, but I am having difficulty getting the ArcMap Addin version. Is there an interface for this I need to query? Or is this even possible to do?

share|improve this question

Try ThisAddin.Version.

Explanation: Assuming you used the VS add-in template, there should be a class called ThisAddin in your add-in's default namespace that has a static Version property corresponding to the Version element in the Config.esriaddinx file. This class is defined in the Config.Designer.cs file.

share|improve this answer
That is still tied in with the binary itself, so when ArcMap "sees" the new one. The code can't "see" the new one until an ArcMap restart. I'll post a screen shot of the variable I am looking for in a few. – Erik L Oct 7 '11 at 17:23
Sounds like a bug then, as it's supposed to grab the latest version at startup if you're using the shared folder feature. I doubt the version number displayed in the Add-in Manager is exposed anywhere. Seems like anything a developer could to work around this would be hacky. Confirm the problem with support and advise your users about it. – blah238 Oct 7 '11 at 18:46

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.