且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法加载文件或程序集'diffiehellman

更新时间:2023-11-09 23:08:58

首先,您是否已将它们添加为项目的引用?如果已将它们添加为引用,是否确保已将它们设置为复制到输出目录? diffiehelman是否还有您需要复制的依赖项?它可能带有您需要在客户端上运行的运行时安装程序,以确保安装所有依赖项。
First of all, have you added them as references to your project? If you have added them as references, have you made sure that you have set them to be copied to the output directory? Does diffiehelman have any dependencies that you need to copy across as well? It might come with a runtime installer that you need to run on your clients to ensure that all the dependencies are installed.


错误消息的相关部分似乎是:

The relevant part of the error message would seem to be:
Quote:

WRN:比较程序集名称导致不匹配:PUBLIC KEY TOKEN

WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN



您下载的程序集与编译 Tamir.SharpSsh 的程序集不匹配。



如果找不到匹配的装配版本,则需要下载源 [ ^ ]并针对新版本重新编译DiffieHellman程序集。


The assembly you've downloaded doesn't match the assembly that Tamir.SharpSsh was compiled against.

If you can't find a matching version of the assembly, you'll need to download the source[^] and recompile it against the new version of the DiffieHellman assembly.