Hi Gerhard,
You should never deploy ExcelDna.Integration.dll under any name. The
reference to it in your project cannot be under another name (the .xll
loads it from resources by name), so you should never rename the file
that you reference. You should mark the reference to it as "Copy
Local=false" in your project to prevent it being copied to your output
directory.
If you have not run the ExcelDnaPack packing tool, then you can rename
the ExcelDna.xll to any other name, and need to rename the .dna file
to match. The .xll will load the .dna file by name.
If you have run the packing tool, you can rename the packed .xll file
to any other name.
If you have problems running your add-in without the
ExcelDna.Integration.dll file, you most likely have mismatched
versions of the ExcelDna.Integration.dll and the ExcelDna.xll file.
Make very sure that the version you reference is matched by the .xll
version you are using, and the ExcelDnaPack.exe version.
After you've checked this, if your add-in is still problematic, please
write back and I can suggest a more systematic investigation.
Regards,
Govert
On Mar 3, 7:24 pm, Lothy <
lo...@gmx.de> wrote:
> Hi Govert,
>
> it seems there is a problem sometime because of the deployed
> Integration.dll.
> I just deleted it, but than it the add-in doesn't work anymore.
> I think the problem is, that I've renamed the XLL file to something more
> convenient for our company.
> My imagination now is, that I have to rename the integration.dll as well,
> before I put a reference on it.
> Is that the piece of cake?
> If yes, please put it in your documentation. I think lots of the newbies
> will be thankful.
>
> Cheers
> Gerhard