Follow us on X (Twitter)  Like us on Facebook  Connect with us on LinkedIn  Subscribe to our YouTube Channel  Subscribe to our WhatsApp Group

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.

 

Solution: An error occurred while validating. HRESULT = '8000000A' (www.kunal-chowdhury.com)

 

The solution towards “An error occurred while validating. HRESULT = '8000000A'” error message is very simple. It’s just a registry tweak that you have to perform as a workaround.

 

For this to work, open your Windows Registry with administrative privilege and navigate to the following registry key path: “HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\11.0_Config\MSBuild” for Visual Studio 2012 IDE or, to the registry path “HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\12.0_Config\MSBuild” for the Visual Studio 2013. If you are using Visual Studio 2015, then the registry key that you have to navigate to is “HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config\MSBuild”.

 

Registry entry to enable out of proc build in Visual Studio (www.kunal-chowdhury.com)

 

In that path, create a DWORD key with the name “EnableOutOfProcBuild” and set it’s value to “0” (zero). Now restart the build process from the command line and everything will be working as you expected.

 

Hope this small Tips & Tricks was helpful. Do let me know, if this helped you. Stay tuned to my blog for new articles, tips. Don’t forget to read my other posts by the time I write and publish a new post. Have a great day ahead!

 

 

Have a question? Or, a comment? Let's Discuss it below...

dhgate

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.