Select to view content in your preferred language

adding visual studio projects to add-in manager ArcGIS 10

463
3
01-26-2011 03:26 AM
maxsteinbrenner
Emerging Contributor
i have been playing with the add-in manager and visual studio and i am pretty sure i may have broken something.

now when i create a new project in visual studio using the desktop add-in template the project no longer automatically shows up in the add-in manager in ArcMap.

Is there a way to manually add the project so it shows up in the add-in manager or is there a way to "reset" something so that my desktop add-ins created in visual studio will automatically show up again?

thanks,

max
0 Kudos
3 Replies
JeffreyHamblin
Occasional Contributor
One possibility:

Did you change the security option in the Add-In Manager (on the Options tab page)? If you change it from "Load all Add-ins without restrictions" to "Require Add-ins to be digitally signed...", your Add-In will not be loaded unless it has been digitally signed. And, of course, the other setting only loads ESRI's Add-Ins.

-Jeff
0 Kudos
maxsteinbrenner
Emerging Contributor
thanks Jeff,

But unfortunately that is not it... I have it on the least secure one.

In looking around further, i did find this directory:

C:\Documents and Settings\steinbm1\My Documents\ArcGIS\AddIns\Desktop10.0

there are a few folders in there that look have names like this:

{b2112169-d8da-41c0-a979-7b34437506b8}

within that folder is a file like this:

arcmapaddin3.esriaddin

for each of these files/folders in the directory a corresponding add-in is in my ArcMap add-in manager.

unfortunately it just does not seem to make these directories regularly anymore when i create the add-ins through visual studio? in playing with it for most of the day yesterday i was able to get it to create another couple add-ins which did show up here (and therefore get put into the add-in manager) but it just doesn't seem to happen consistently anymore? any ideas on how to fix this would be great.

thanks,

max
0 Kudos
JeffreyHamblin
Occasional Contributor
There was a post a while back regarding Add-Ins not reflecting changes made after a new compile. One recommendation was clearing your assembly cache. (set explorer to show protected operating system files). You will see a similar hierarchy of GUID folder names as the Add-Ins folder, except only the DLLs are within them:

XP:
C:\Documents and Settings\<username>\Local Settings\Application Data\ESRI\Desktop10.0\AssemblyCache\

Win7:
\Users\<username>\AppData\Local\ESRI\Desktop10.0\AssemblyCache\

Not sure if that will help, since it sounds like the build process in VS is the problem. But sometimes stabs in the dark hit something.

-Jeff
0 Kudos