美文网首页
Visual Studio Build 遇到 8000000A

Visual Studio Build 遇到 8000000A

作者: 黑山老雕 | 来源:发表于2019-10-14 15:38 被阅读0次

参考
https://stackoverflow.com/questions/8648428/an-error-occurred-while-validating-hresult-8000000a

Update for those who got this issue for VS2013 or VS2015 after upgrading a VS200X setup project using the Microsoft Visual Studio Installer Projects extension.

Following the recipe for v1.0.0.0 from MS finally made it work for me:

Microsoft Visual Studio Installer Projects

Unfortunately we couldn't address all cases of the command line issue for this release as we're still investigating the appropriate way to address them. What we do have is a workaround that we believe will work for almost all of them. If you are still suffering this issue then you can try to change the DWORD value for the following registry value to 0: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\MSBuild\EnableOutOfProcBuild (VS2013)
or
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\MSBuild\EnableOutOfProcBuild (VS2015)
If this doesn't exist you can create it as a DWORD.

设置注册表之后,问题解决。

还有另一种方法,我没有尝试:https://stackoverflow.com/questions/57557717/hresult-8000000a-in-visual-studio-2017-for-wpf-project

执行下列命令:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild\DisableOutOfProcBuild.exe

相关文章

网友评论

      本文标题:Visual Studio Build 遇到 8000000A

      本文链接:https://www.haomeiwen.com/subject/xtmrmctx.html