Unrecoverable build error while building Setup /deployment project in Visual studio

Recently I faced the error "Unrecoverable build error " at the time of building Setup/ Deployment project. I found the resolution by registering mergemod.dll assembly located at "C:\Program Files\Common Files\Microsoft Shared\MSI Tools\mergemod.dll".

My Setup project does not show Install/Uninstall options at right click.But after registering this dll this problem went away.

Find the MS support article on it. https://support.microsoft.com/kb/329214.

Cheers...