无法加载文件或程序集"Opc.da.dll". [英] Could not load file or assembly "Opc.da.dll"

查看:330
本文介绍了无法加载文件或程序集"Opc.da.dll".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

执行c#可执行程序时出现错误.
如何解决?
我设置了.netframework 2.0,并且dll文件与可执行文件位于同一文件夹中.

Windows xp

病毒?
:((
真诚的

I had an error when the c# executable program had executed.
How to solve it?
I set up .netframework 2.0 and the dll file exist in the same folder with the executable.

Windows xp

virus?
:((
your sincerely

推荐答案

它可能是dll版本错误,或者dll已损坏.它几乎不可能是病毒.
It could be the wrong version of the dll, or the dll could be corrupt. There''s little chance that it''s a virus.


您是直接从您的项目中引用这个dll还是从另一个已经引用的项目中引用该dll?检查是否添加了对此dll的引用.
Are you referencing this dll directly from your project or from another project already referenced? Check whether you added reference to this dll.


非常感谢.
我使用OPC Foundation dll,正在计算机上正确构建解决方案.
以下消息是您的应用程序中发生未处理的异常....
无法加载文件或程序集''OpcRcw.Da,版本= 3.0.3.0,文化=中性,
PublicKeyToken = .......''
"
这是主要信息. :omg:

加:
我直接引用它.参考->添加参考.它在那里.
Thanks a lot.
I use the OPC Foundation dll, I was building the solution alright in my computer.
The following message is "Unhandled exception has occurred in your application....
Could not load file or assembly ''OpcRcw.Da,Version=3.0.3.0,Culture = neutral,
PublicKeyToken=.......''
"
It''s the primary message. :omg:

plus:
I reference it directly.Reference->Add Reference.It''s in there.


这篇关于无法加载文件或程序集"Opc.da.dll".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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