“An error occurred while validating. HRESULT = ‘8000000A'”

This error comes when you try to build your visual studio desktop project msi using command prompt.

To fix this error you have to find DisableOutOfProcBuild.exe

You can find this exe on this path

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild
Open command prompt and CD to the above path
cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild
Now run following command to enable command prompt to build your project setup
run DisableOutOfProcBuild.exe
You should get following message
"Setting DWORD value 'EnableOutOfProcBuild' to '0' on registry key with path 'HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\16.0_6baece73_Config\MSBuild'...
Success."
Now if you will try to build your project msi using command prompt

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial
back to top
Get Free Quote