If you face the error message “An error occurred while validating. HRESULT = '8000000A'” while building Visual Studio setup project from command line in Visual Studio 2012 or above IDE environment, the reason is because the new IDEs do not support build outside the own process.
But there is a tweak which will help you to enable the same and you will now be allowed to build the MSI setup project from the command line itself.