XLL Module & adxloader.ProjectName.dll

Add-in Express™ Support Service
That's what is more important than anything else

XLL Module & adxloader.ProjectName.dll
Referencing Old Directory & File Path 
Michael Thrift




Posts: 36
Joined: 2015-06-09
We have an Addin for Excel that also includes an XLL Module. Our process for debugging is to pull the latest version of this project from Subversion. It copies all the files for the Addin into a new directory. As an example:

C:\Users\mtthr580\Documents\Visual Studio 2010\Projects\FastPowerTools\

Because multiple users work on the same project, we always pull a fresh clean copy from Subversion.

Lets say the next day I pull the project from Subversion again, we do not overwrite the original location, we just add a new one:

C:\Users\mtthr580\Documents\Visual Studio 2010\Projects\FastPowerTools(1)\

When we unregister and register the Add-in, Or Build / Rebuild / Clean & Rebuild, the Addin itself seems to work just fine. But the XLL Module never updates to the new location. It always references the first directory it was registered from.

The result is that changes to the XLL module from the new local directory never take affect, OR, if the original directory is deleted, we get an error on the startup of Excel which indicates that it cannot find adxloader.FastPowerTools.dll.

Even if I unregister and remove the addin from starting up, I still receive this error.

Any thoughts?
Posted 15 Oct, 2015 09:43:34 Top
Michael Thrift




Posts: 36
Joined: 2015-06-09
For further consideration, when you look at the Addins listed in Excel by going to File / Options / Add-Ins

There are two listings:

FastPowerTools | C:\Users\mtthr580\Documents\Visual Studio 2010\Projects\FastPowerTools(3)\bin\Debug\adxloader.FastPowerTools.dll | Type: Excel Add-in

FastPowerTools | C:\Users\mtthr580\Documents\Visual Studio 2010\Projects\FastPowerTools(11)\bin\Debug\adxloader.FastPowerTools.dll | Type: COM Add-in
Posted 15 Oct, 2015 16:15:11 Top
Andrei Smolin


Add-in Express team


Posts: 14106
Joined: 2006-05-11
Hello Michael,

Michael Thrift writes:
The result is that changes to the XLL module from the new local directory never take affect, OR, if the original directory is deleted, we get an error on the startup of Excel which indicates that it cannot find adxloader.FastPowerTools.dll.


Check if your project builds to that location. Or, it is possible that you execute adxregistrator.exe passing it the full path in PostBuildEvent or in the setup project.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Oct, 2015 07:06:49 Top