...all I had to do was.
Close down Visual Studio.
Start, Run or WIN+R, type cmd, OK.
regsvr32 "C:Program FilesCommon FilesMicrosoft SharedMSI Toolsmergemod.dll"
regsvr32 ole32.dll
For x64 bit machines
regsvr32 "C:Program Files (x86)Common FilesMicrosoft SharedMSI Toolsmergemod.dll"
regsvr32 ole32.dll
Warning: you MUST run the command prompt in Admin Mode!
Close Command Prompt.
Open up Visual Studio and try rebuilding your deployment project! It worked for me!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…