For CI/CD pipelines that need to compile against the 14.0 interop, install the PIA MSI from Microsoft. No UI or license is required for the build server (but check your licensing terms).
Install the same bitness of Office as your calling application. microsoft excel 14.0 object library dll download