I\'m trying to compile a WiX installer (which has custom actions, which I suspect are the source of the issue) on a build server and I\'m getting the following error:
For me this was just a matter of providing a hint for the reference in cproj file, pointing to the Wix nuget package.
..\packages\WiX.3.11.2\tools\Microsoft.Deployment.WindowsInstaller.dll