.net - 验证时发生错误。 H结果 = '8000000A'

标签 .net visual-studio-2010 windows-installer devenv hresult

在自动构建中使用 devenv 时,我已经收到此错误一段时间了。我浏览了我能找到的每个网站,通常的答案提到刷新依赖项(我相信它可以修复手动部署,但不能修复自动部署)并从项目中删除源代码控制编码,这对我没有帮助。

该错误并不是每次构建时都会发生,但每次在不同的部署项目上似乎都是随机的。

有人对为什么会发生此错误以及如何修复它有任何建议吗?

最佳答案

针对使用 Microsoft Visual Studio 安装程序项目扩展升级 VS200X 安装项目后遇到 VS2013 或 VS2015 问题的用户进行更新。

遵循 MS 的 v1.0.0.0 配方终于对我有用了:

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.

关于.net - 验证时发生错误。 H结果 = '8000000A',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8648428/

相关文章:

windows - 如何获取命令行参数并使用 wix 安装程序将其添加到注册表?

.net - 更新到 VS 2022 后无法构建

.net - 当 DLL 嵌入到 .NET DLL/EXE 中时,内存和 CPU 会受到影响吗?

.net 线程安全

.net - 如何在 Visual Studio 中实际创建 .NET Core 项目?

c++ - 在没有 Windows.h 的情况下制作 OpenGL 应用程序

visual-studio-2010 - 禁用 Visual Studio 自动 id 重命名

c++ - 强制 MS VS2010 在每次构建时重建一个 cpp 文件

Wix3.8 WixUI_Advanced对话框如何跳过许可协议(protocol)

c# winapp 将 app.config 添加到安装程序?