Could not load file or assembly 'SharpSvn' or one of its dependencies. An attempt was made to load a program with an incorrect format

asp.net-mvc-3, c#, sharpsvn, svn

Solution

Solve it.

- Change my platform to x86

- Output path to "bin\"

- Downloaded the x86 of SharpSVN (1.7008.2243.14245)

- Add SharpSVN.dll in GAC.

- Delete the bin folder and rebuild solution

This is the link for the explanation.

Problem

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 I'm using Win7, 64bit,.net 4.0.

Original source

Related problems