Target Excel is a 32 bits version, can one tell me how to compile my addin accordingly ?

31 views
Skip to first unread message

Vincent Boilay

unread,
Jun 25, 2024, 5:14:52 PMJun 25
to Excel-DNA
Do I simply have to set "Platform target" to x86 ?
Thank you.

Govert van Drimmelen

unread,
Jun 25, 2024, 5:21:17 PMJun 25
to Excel-DNA
Hi Vincent,

Your add-in project should be built for "AnyCPU" (don't set a PlatformTarget in the project).
Then in the output you will see two .xll add-ins:
  MyProject-AddIn.xll
  MyProject.AddIn64.xll
with corresponding packed outputs in the 'publish' subdirectory.

The .xlls which don't say "64" are for 32-bit Excel.

Debugging from the project should automatically detect the installed version of Excel, and load the right add-in.

-Govert

Vincent Boilay

unread,
Jun 25, 2024, 8:58:37 PMJun 25
to exce...@googlegroups.com
so simple...thx.
is that normal that a 64bit XL cannot load the 32bit addin version ?


--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/55929a7d-4d9c-49da-a492-51040775fd2an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages