Excel-DNA/Samples

DnaComServer - Early Bind does not work

Opened this issue · 0 comments

I am trying the DnaComServer exactly as scripted but I am not able to reference the dll in the last step for Late Binding - it does not appear in the list.

I have modified the paths in the Post-Build script to reference 1.6.0 rather than 1.5.1

I could not, though, find the bat file referenced in this script line
call "$(DevEnvDir)....\VC\Auxiliary\Build\vcvarsall.bat" x86

and I could not find the ExcelDnaPack.exe file in the project folder
"$(ProjectDir)\packages\ExcelDna.AddIn.1.6.0\tools\ExcelDnaPack.exe" "$(ProjectDir)$(OutDir)$(TargetName)-AddIn.dna" /Y /O "$(ProjectDir)$(OutDir)$(TargetName)-AddIn-packed.xll"

Are the missing files critical to the post-build script? And if so, where do I find them?

I am running Visual Studio Community 2019 on a Windows 10 computer
I am a newbie at VS and Github

The Late Bind example code works fine

Thanks in advance