[英]BadImageFormatException and valid Win32
我有一个在笔记本电脑上运行良好的C#应用程序。 但是,同一应用程序无法在我的家用笔记本电脑上运行,我收到一条错误System.BadImageFormatException HResult=0x800700C1 Message=Could not load file or assembly 'xxx.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
: System.BadImageFormatException HResult=0x800700C1 Message=Could not load file or assembly 'xxx.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
System.BadImageFormatException HResult=0x800700C1 Message=Could not load file or assembly 'xxx.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
两者均为Windows 10,Visual Studio 2017和相同的配置。 可能是什么问题并解决?
确保“ xxx.dll”及其所有依赖项与您的OS体系结构(x86 / x64)相同。 使用依赖查询器找出依赖模块。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.