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've created a Add-In button that says "Hello World" when clicked. I want to add button to a toolbar.

I've tried creating my own "Category" in the Add-In wizard, no success. I've also accepted the default "Category" called "Add-Ins", no success.

The Add-In appears to load but is not assigned to a visible "Category". So, I can't use it.

I've run the Add-In via Visual Studio, Installed via the ESRI ArcGIS Add-In Installation Utility, and loaded the file via the Customize / Customize Mode / Commands.

What is the issue? Do I need to enable Add-Ins or turn on an extension? Any help is appreciated.

Thank you

share|improve this question
1  
Please post the Config.esriaddinx contents. It might make it easier figure out what's going on. –  Kirk Kuykendall Apr 5 '11 at 23:23

1 Answer 1

Try to use the following code in your Config.esriaddinx:

  <AddIn language="CLR" library="Your_addin.dll" namespace="Your_addin">
    <ArcMap>
      <Commands>
        <Button id="Your_addin_Button" class="LaunchButton" message="" caption="Button" tip="" category="Add-In Controls" image="Images\Search.png" />
      </Commands>
      <Toolbars>
        <Toolbar id="Your_YourToolbar" caption="YourToolbar">
          <Items>
            <Button refID="Your_addin_Button" />
          </Items>
        </Toolbar>
      </Toolbars>
    </ArcMap>
  </AddIn>
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.