无法加载文件或程序集"SharpSvn"或其依赖项之一.试图加载格式不正确的程序 [英] Could not load file or assembly 'SharpSvn' or one of its dependencies. An attempt was made to load a program with an incorrect format
本文介绍了无法加载文件或程序集"SharpSvn"或其依赖项之一.试图加载格式不正确的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I just downloaded the 64bit version of the SharpSVN here's the link!
运行应用程序时,显示错误消息.我在网上搜索了如何解决此问题的方法,但失败了.我尝试了以下解决方案:
When I run my application, error message displayed. I have searched the net on how to fix this issue but I'm failed. I tried the following solution:
- setting the Configuration Manager to x64 as suggested on this post
- setting the startup config on this response
- also tried downloading x86 and set the config manager to x86.
- tried this also, adding assembly link
我正在使用Win7、64位,.net 4.0.
I'm using Win7, 64bit,.net 4.0.
推荐答案
解决它.
- 将我的平台更改为x86
- "bin \"的输出路径
- 下载了SharpSVN x86(1.7008.2243.14245)
- 在GAC中添加SharpSVN.dll.
- 删除bin文件夹并重建解决方案
这是链接的解释.
这篇关于无法加载文件或程序集"SharpSvn"或其依赖项之一.试图加载格式不正确的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文