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.
I had to do one additional step on top of the accepted answer:
Hope that helps!
Reinstall (Repair) Visual Studio resolved the problem for me. I've had installed a new software for creating setup programs and it damaged some setup msm files. The easiest mode to repair it was to reinstall VS.
Running VS2017 in Admin mode solved my problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.