无法加载程序集 (hr = 0x80131018) [英] Cannot load assembly (hr = 0x80131018)

查看:36
本文介绍了无法加载程序集 (hr = 0x80131018)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用户在将 .Net 程序集加载到 AutoCAD 时遇到问题.我收到以下错误:

I have a user with issues loading a .Net assembly into AutoCAD. I get the following error:

无法加载程序集.错误详细信息:System.BadImageFormatException:无法加载文件或程序集 (hr = 0x80131018)

Cannot load assembly. Error details: System.BadImageFormatException: Could not load file or assembly (hr = 0x80131018)

他们正在使用一个名为 Endpoint Security 的 anit 病毒包,当它关闭时,负载就可以工作了.

They are using an anit virus package called Endpoint Security and when this is turned off, the load works.

我不是 .Net 专家,我希望可能有比我建议用户将他们的防病毒软件包放入垃圾箱的更友好的解决方案!?但我不知道从哪里开始,任何帮助都会非常受欢迎.

I am not a .Net expert and was hoping there might be a friendlier solution than me suggesting the user put their anti virus package in the trash!? But I've no idea where to start, any help would be greatly received.

推荐答案

就我而言,它是带有本机代码的资源 dll,为什么期望 .NET 资源 dll.当我错了一个 - 一切都会好起来的.

In my case it was resource dll with Native Code whyle expected .NET resource dll. When I slip right one - everything become ok.

这篇关于无法加载程序集 (hr = 0x80131018)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆