简体   繁体   English

错误:不可恢复的构建错误 - 0x8007000B - VS2022 Winforms 项目 C#

[英]ERROR: Unrecoverable build error - 0x8007000B - VS2022 Winforms Project C#

I tried this ways in two differents computers Win10:我在两台不同的计算机 Win10 中尝试了这种方法:

  • Registering MergeMod and Ole32(with Admin Privileges)注册 MergeMod 和 Ole32(具有管理员权限)
  • Delete project setup and create again删除项目设置并重新创建
  • Reinstalling VS Installer Projects 2022重新安装 VS 安装程序项目 2022
  • Updating & Restarting the computer更新和重新启动计算机

It's the same, I have hours with this problem.是一样的,我有几个小时来解决这个问题。

I create a project with VS2019 with a copy/paste of the files and works, but with VS2022 failed If anyone has the same situation with VS2022 and could solve, I'd love to hear about it!我使用 VS2019 创建了一个项目,其中包含文件和作品的复制/粘贴,但 VS2022 失败如果有人遇到与 VS2022 相同的情况并且可以解决,我很想听听!

Thanks!谢谢!

0x8007000b is ERROR_BAD_FORMAT and most likely occurs when you are mismatching 32-bit and 64-bit code. 0x8007000b 是ERROR_BAD_FORMAT并且最有可能发生在您不匹配 32 位和 64 位代码时。 You're likely incorrectly registering a 32-bit DLL but trying to run it in a 64-bit exe (or the reverse situation could possibly be true too.)您可能错误地注册了 32 位 DLL 但尝试在 64 位 exe 中运行它(或者相反的情况也可能是真的。)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 不可恢复的构建错误 - 安装项目中的 0x8007000B - Unrecoverable build error - 0x8007000B in Setup Project .net框架错误(HRESULT 0x8007000B) - .net Framework Error (HRESULT 0x8007000B) 错误 0x8007000b:无法创建托管引导程序应用程序 - Error 0x8007000b: Failed to create the managed bootstrapper application 32位dllimport在win7 x64平台上生成不正确的格式错误(0x8007000b) - 32 bit dllimport generating incorrect format error (0x8007000b) on win7 x64 platform 向 .NET 6 项目添加新类会导致构建错误 NETSDK1022 (VS2022) - Adding new class to .NET 6 project results in build error NETSDK1022 (VS2022) C# 当它不应该是 VS2022 时出现错误 CS0426 - C# Error CS0426 coming up when it shouldn't be VS2022 PInvoke c++ dll 从 c# - 尝试加载格式不正确的程序。 (来自 HRESULT 的异常:0x8007000B) - PInvoke c++ dll from c# - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) 如何在ASP.net 2010应用程序中加载GhostScript(gs64dll.dll)64位dll(错误代码出错:HRESULT:0x8007000B) - How to load GhostScript (gs64dll.dll) 64 bit dll in ASP.net 2010 application (It gives error with error code: HRESULT: 0x8007000B) 来自Matlab编译的DLL的HRESULT异常:0x8007000B - Exception from HRESULT: 0x8007000B, for a MatLab Compiled dll Delphi dll throwing试图加载格式错误的程序。 在C#中调用时(HRESULT的异常:0x8007000B) - Delphi dll throwing An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) when called in c#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM