visual-studio-2015

Unrecoverable build error - whilst trying to build setup on VS2015


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:


Solution

  • 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.