My build fails every time when I try and build my setup project. The error in the output window is just:
ERROR: Unrecoverable build error
What I have tried already
Note: Similar question but not the same as it is for a much earlier version of Visual Studio:
The problem was solved by registering mergemod.dll.
On my computer it is located at: C:\Program Files (x86)\Common Files\Microsoft Shared\MSI Tools
You need to run regsvr32 with administrative privileges to get it to work.