无法加载文件或程序集'TidasdotNet, [英] Could not load file or assembly 'TidasdotNet,

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

问题描述

当我运行程序时出现此错误:

When I run my program I get this error :

无法加载文件或程序集'TidasdotNet,Version = 0.5.1.0,Culture = neutral,PublicKeyToken = null'或其中一个依赖项。尝试加载格式不正确的程序。

Could not load file or assembly 'TidasdotNet, Version=0.5.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

我从制作TidasdotNet .dll的公司获得了一个示例程序。他们给你的是示例代码而不是完整的项目,所以我不知道他们的解决方案是如何设置的。

I got a sample program from the company that make the TidasdotNet .dll. They give you the sample code but not the full project, so I do not know how their solution is set up.

无论如何,我可以让程序运行得很好但是当我转向我的代码执行了运行时错误。

anyhow, I can get the program to run just fine but when I turn my code that did that run time error.

我正在使用他们正在使用的所有相同的.dll。另外,如果我删除了程序所在的.dll,我也会收到相同的错误....

I am using all the same .dlls they are using. Also if, I deleted on of the .dll from where the program is said I get the same error ....

所以我知道,我有所有权利.dll,我甚至从这里开始运行我的项目已保存。

so I know, I have all the right .dll and I even have the running from here my project is saved .

所以为什么我收到此错误?

so why I am getting this error ?

我将.dll保存在我的项目solation

I have the .dlls saved under my project solation

下,我有    TidasdotNet .dll正在参考...

and I have the  TidasdotNet .dll under reference ...

为什么它不起作用?

我该怎么办?

推荐答案

无法加载文件或程序集"TidasdotNet,Version = 0.5.1.0,Culture = neutral,PublicKeyToken = null"或其依赖项之一。尝试加载格式不正确的程序。

通常,这可能意味着您有一个64位的dll,您尝试在其中运行一个32位的解决方案。或者你有一个64位的解决方案,你没有把32位DLL放在WoW64区域。

In general,  it may mean that you have a 64 bit dll that you are trying to run in a 32bit solution. Or you have a 64bit solution and you are not putting the 32bit DLL in the WoW64 area.


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

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