[英]Could not load file or assembly 'SharpSvn' or one of its dependencies. An attempt was made to load a program with an incorrect format
I just downloaded the 64bit version of the SharpSVN here's the link ! 我刚刚下载了这个SharpSVN的64位版本的链接 !
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:
我尝试了以下解决方案:
I'm using Win7, 64bit,.net 4.0. 我使用的是Win7,64bit,.net 4.0。
Solve it. 解决这个问题。
If you're getting this error when trying to access a website hosted in IIS, you may need to adjust the "Enable 32-Bit Applications" setting in your application pool. 如果在尝试访问IIS中托管的网站时出现此错误,则可能需要调整应用程序池中的“启用32位应用程序”设置。 See this answer: https://stackoverflow.com/a/20525314/12484
请参阅此答案: https : //stackoverflow.com/a/20525314/12484
This may also come down to a mismatched version of the Microsoft Visual C++ Redistributable Package depending on the version of SharpSvn and the version of Windows/Visual Studio. 这也可能归结为Microsoft Visual C ++ Redistributable Package的不匹配版本,具体取决于SharpSvn的版本和Windows / Visual Studio的版本。
Newer versions of SharpSvn have a dependency on the "Microsoft Visual C++ 2010 SP1 Redistributable Package". 较新版本的SharpSvn依赖于“Microsoft Visual C ++ 2010 SP1可再发行组件包”。
x64 - https://www.microsoft.com/en-us/download/details.aspx?id=13523 x64 - https://www.microsoft.com/en-us/download/details.aspx?id=13523
x86 - https://www.microsoft.com/en-us/download/details.aspx?id=8328 x86 - https://www.microsoft.com/en-us/download/details.aspx?id=8328
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.