SharpSVN示例程序崩溃 [英] SharpSVN Example Program Crashes

查看:76
本文介绍了SharpSVN示例程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了他们给出的SharpSVN示例,以尝试对其进行测试,但是在尝试运行它时出现此错误.

I downloaded the SharpSVN example they give to try and test it out but I get this error when I try and run it.

System.BadImageFormatException {无法加载文件或程序集'SharpSvn,版本= 1.4999.376.29668,Culture =中性,PublicKeyToken = d729672594885a28'或其依赖项之一.尝试加载格式不正确的程序."

System.BadImageFormatException {"Could not load file or assembly 'SharpSvn, Version=1.4999.376.29668, Culture=neutral, PublicKeyToken=d729672594885a28' or one of its dependencies. An attempt was made to load a program with an incorrect format."}

下载后,我去加载项目,没有错误地进行了请求的转换,然后尝试运行它.尚未在线找到解决方案.

After I downloaded I went to load the project, did the requested conversion with no errors then just tried to run it. Haven't been able to find a solution online.

在64位W7上运行,我注意到所有.dll和其他文件均为_32,不确定是否是问题所在.

Running on 64-bit W7 and I notice all the .dlls and other files are all _32, not sure if that is the problem.

推荐答案

该应用程序是否针对x86编译?如果为任何CPU编译,它将在64位系统上被固定为x64,如果它正在加载32位DLL,则会导致此错误.您必须添加x86配置,然后构建该配置.

Is the application compiled for x86? If it is compiled for Any CPU, it will be jitted to x64 on a 64-bit system, which leads to this error if it is loading 32-bit DLLs. You have to add an x86 configuration, and build that configuration.

这篇关于SharpSVN示例程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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