My project needs to be packaged as a zip file for deployment. I want to create this zip file in a post build step.
To achieve this I have installed a 7-Zip command line package via NuGet. This package provides an executable which I want to call in my post build step. I know that I could call it by providing the path to the installed package but this path contains the version number of the package so a direct reference will break when the package is updated.
Is there some MSBuild variable that I could use to get the path to my installed packages' tools path?