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
- Restarting my computer and Visual Studio
- Registering ole32.dll
- Clean and rebuild all
- Deleting bin and obj folders
- Removing temporary files with VS in the name in \AppData\LocalTemp
- Running Visual Studio as an administrator
- Pausing the real time protection on my antivirus
- Deleting the temporary file that the setup build leaves in there.
- Running the process monitor during the build.
- Checking if my project contains duplicate folder names (it does not).
Note: Similar question but not the same as it is for a much earlier version of Visual Studio: