ExcelDnaPack without hardcoding the NuGet version

Sep 15, 2015 at 4:46 PM
How do I set up my post build event to execute ExcelDnaPack without having to hardcode the current version of the NuGet package?

At the moment I have something like this in my post build event:
"$(SolutionDir)packages\Excel-DNA.0.32.0\tools\ExcelDnaPack.exe" "$(TargetDir)MyApp-AddIn64.dna" /Y
However I'm getting a hard time from the build config guys saying that I mustn't hardcode the version number and it needs to be dynamic for if we update the NuGet package.
Sep 15, 2015 at 4:53 PM
What do the build config guys suggest?
Do they know of other packages that address a similar problem?

We are working on improved build configuration for a future version of Excel-DNA, so this is a good time to make suggestions for how you would like to see it done.
Discussions on the current proposal are part of this GitHub pull request: https://github.com/Excel-DNA/ExcelDna/pull/27