Fix for ArcGIS 10.1 cannot find Add-ins

522
0
09-24-2013 10:43 AM
MelanieWawryk
Occasional Contributor III
There is a bug in the way ArcGIS reads add-in if you use profiles that are set up in an unconventianal way. The problem is that ArcGIS cannot find the add-ins after you make changes to them so they buttons show up with red x's and don't run.

In Visual studio for each project you will need to do the following:


  1. Right click on the project in visual studio>Add New Item> under common Items select Text File and name it 'Dont_EsriRegAddin.txt'


  2. Set the build directory under properties - Right click the project,go to properties, go to build tab and set output path to a common location

  3. Example: C:\ArcObjects\Completed Add-ins

  4. Compile the project, visual studio shouldn't create an add-In GUID in folder "\\<servername>\home\<yourname>\Documents\ArcGIS\AddIns\Desktop10.1"


  5. Open ArcMap, Go to Customize menu -- > Add-In Manager --> Options tab and add the build folder you set in properties C:\ArcObjects\Completed Add-ins and press OK.

Add-in should now open automatically even after changes

Hope this helps if you have the same issue, it took weeks to resolve
0 Kudos
0 Replies