Excel-DNA / Excel-DNA/Samples

DnaComServer - Early Bind does not work

Open
#28 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
135
Forks
83
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.