Hi,
I'm migrating a bunch of 9.3 tools to 10.2 AddIns. Is there a restriction on the length of the .dll that the AddIn creates? I'm getting a few errors on building a project, and the AddIn is not registering with ArcMap.
The error is:
Warning | 1 | Custom tool warning: The 'library' attribute in the AddIn element may be invalid - The value 'Facility_ID_Tool__AddIn.dll' is invalid according to the project output assembly name 'Facility_ID_Tool _AddIn.dll'. | C:\Visual Studio Projects\Facility_ID_Tool _AddIn\Facility_ID_Tool _AddIn\Config.esriaddinx | 13 | 25 | Facility_ID_Tool _AddIn |
Here is the XML:
<AddIn language="CLR" library="Facility_ID_Tool__AddIn.dll" namespace="Facility_ID_Tool__AddIn">
This was all setup using the Wizard in VS2012.
Thanks.
By length I mean the length of the filename.
Let's try to solve this one for you since we're not having any luck on the COM Exception!
Facility_ID_Tool__AddIn.dll
vs.
Facility_ID_Tool _AddIn.dll
There are 2 underscores before AddIn in the first and one in the second.
Thanks Greg. Yeah, I'm not sure what happened here. Basically I just re-built the add-in from scratch and had no problems. Not sure if it was a problem with length of name or what, but eventually I got it working.