在VS 2012 4.5版本上不支持VS 2010 4.0版本的Winscp dll [英] Winscp dll of VS 2010 4.0 version not support on VS 2012 4.5 version

查看:107
本文介绍了在VS 2012 4.5版本上不支持VS 2010 4.0版本的Winscp dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在VS 2010中创建项目,我使用winscp dll在SFTP服务器上传数据我的代码正常工作但是当我在VS 2012中使用相同的代码和相同的dll时它给出了错误异常:C:\Program Files(x86)\ WinSCP \winscp.exe(5.7.5.0)的版本与此程序集的版本不匹配E:\Projects \Abc \Abc\AbcApp \bin\Debug \WinSCPnet.DLL(5.7.4.0)。您可以使用Session.DisableVersionCheck禁用此检查(不推荐)。我试图找到5.7.5 dll和exe。我得到了exe但我的问题没有解决。请帮帮我。

解决方案

刚刚关闭问题:



感谢您报告问题解决了。我对该问题的评论中的建议是下载匹配版本。另请注意,这些是开源项目,因此我建议将它们包含在同一个解决方案中,并与您自己的项目一起构建所有项目。



-SA

Hello All,
I am creating project in VS 2010 and i used winscp dll for uploading data in SFTP server my code is working but when i use same code and same dll in VS 2012 its giving error "Exception: The version of C:\Program Files (x86)\WinSCP\winscp.exe (5.7.5.0) does not match version of this assembly E:\Projects\Abc\Abc\AbcApp\bin\Debug\WinSCPnet.DLL (5.7.4.0). You can disable this check using Session.DisableVersionCheck (not recommended)." I am trying to find 5.7.5 dll and exe. I got exe but my problem is not solved . Please help me.

解决方案

Just to close the issue:

Thank you for reporting that the problem is solved. My advice in the comment to the question was to download matching version. Also note that these are open-source projects, so I would advise to include them in the same solution and build all together with your own the project you may have.

—SA


这篇关于在VS 2012 4.5版本上不支持VS 2010 4.0版本的Winscp dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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