Excel-DNA/Samples

AddInReloader Sample throws ApplicationBase could not be set.

robodude666 opened this issue · 1 comments

I downloaded the AddInReloader sample, and updated the paths in the xml file to my AddInReloader.dll and AddInReloader-Addin.xll paths.

The Addin unloads correctly, however when the AppDomainSetup is being created I get the following error:

A problem occurred while the add-in was creating an isolated
application domain and loading required assemblies.

ApplicationBase could not be set.

This is an unexpected error. Please report this error to the add-in developer.

Additional error information: HRESULT 0x0D642078

This add-in is built with Excel-DNA and is being loaded from the following location:

C:\my\addin\path\AddInReloader-AddIn.xll

Any idea why this could be happening?

-robodude666

Woops. Apparently the AddInReloader cannot be used to reload itself.

Updated my xml file to point to another addin/dll and it works perfectly fine.

-robodude666