During recent testing of my add-in, I discovered that if I attempt to expose certain classes via COM interfaces to VBA using dSPACE.Runtime.InteropServices.BuildTasks, everything works fine as long as the add-in does not involve Excel's object model (i.e., interaction through statements like var app = (Application)ExcelDnaUtil.Application).
However, as soon as both functionalities are used together, a compilation error inevitably occurs like this(my system language isn't English) :
command“"C:\Users\ABC\.nuget\packages\dspace.runtime.interopservices.buildtasks\1.12.2\build\..\tools\x64\dscom.exe" tlbexport "D:\Csharp\Test\bin\Debug\net6.0-windows\Test.dll" --asmpath "C:\Users\ABC\.nuget\packages\exceldna.addin\1.9.0-alpha3\build\..\tools\net462" --out "D:\Csharp\Test\bin\Debug\net6.0-windows\\Test.tlb"”had exited, the code was 1.
Could you please advise what might be causing this issue?
It looks like the problem has actually been fixed in dsCom version 1.13.0.
-Govert
--
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 visit https://groups.google.com/d/msgid/exceldna/71ecac4a-ca41-45c3-8298-957ae5b38262n%40googlegroups.com.