2

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were configured.

When I hit Debug, ArcMap application was opened. I couldn't find the toolbar docked anywhere on the ArcMap toolbar. I went to "Customize" -> "Add-in Manager" and the add-in being debugged was not there. Then I tried "Add From File...", located the "esriaddin" file and clicked "Install Add-in". It populated a message box saying "No GUI components found in this Add-In."

I made some Google searches but haven't got any luck to reach a solution yet.

What was I missing? Has anyone come across the same issue and any direction?

Thanks in advance!

------ EDIT ------ the esriaddinx file attached as below

<ESRI.Configuration xmlns="http://schemas.esri.com/Desktop/AddIns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>CFAArc10ToolsAddIn</Name>
  <AddInID>{112b1e91-3b7f-4d18-8584-65427e99b287}</AddInID>
  <Description>Contains Custom Tools for use in Arc10</Description>
  <Version>4.0</Version>
  <Image>Images\CFAArc10ToolsAddIn.png</Image>
  <Author>{First Last names}</Author>
  <Company>{Company name}</Company>
  <Date>30/05/2014</Date>
  <Targets>
    <Target name="Desktop" version="10.2" />
  </Targets>
  <AddIn language="CLR" library="CFAArc10ToolsAddIn.dll" namespace="CFAArc10ToolsAddIn">
    <ArcMap>
      <Commands>
        <Button>
          ... ...
        </Button>
        ... ...
      </Commands>
      <Toolbars>
        <Toolbar>
          ... ...
        </Toolbar>
        ... ...
      </Toolbars>
    </ArcMap>
  </AddIn>
</ESRI.Configuration>

closed as off-topic by PolyGeo Oct 15 '16 at 7:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • The problem most likely is in the config.esriaddinx file, can you open that in notepad and paste the XML into the question (mask any personal data contained in it) – Michael Stimson Jul 30 '14 at 2:57
  • You've taken out too much. The part that's really interesting is the bit between <Button> and </Button>, in particular category="something" and onDemand="false". Just to confirm, the tool inherits ESRI.ArcGIS.Desktop.AddIns.Button. If you have created this using the dialog then it should be right, unless you've modified that line. – Michael Stimson Jul 30 '14 at 3:32
  • A further question.. are you on a 64 bit OS? if so have you built the addin for x86? if you leave it as the default any CPU you will have this problem. – Michael Stimson Jul 30 '14 at 3:39
  • Yes, I have "category" in the file but they all look good. I don't have "onDemand=false" in the file at all. The file was created automatically. – alextc Jul 30 '14 at 3:44
  • 2
    Yes, I can install add-ins. By the way, I got it sorted. As there was already an Add-in (a shared Add-in) with the same name as the one I am debugging there could be naming conflict in Add-in Manager. I didn't realise that could have been the issue. Now that I manually removed the shared one the one I am debugging is now working! Thanks so much Michael for your help. – alextc Jul 30 '14 at 4:01