svn2svn does not work under WinXP x64



As indicated in the subject, the current distribution of svn2svn does not work under Windows XP x64
When running it, there is an error message saying this (in French) : Tentative de chargement d'un programme de format incorrect
This basically means "Attempt to load a program with a bad format" and this is the ERROR_BAD_FORMAT error code.
I don't know how to fix this, apart from using a virtual machine that uses windows x86 instead of x64.


dblock wrote Oct 16, 2009 at 10:16 PM

Doesn't XP x64 have a compatibility mode?

I think to fix this I only need to switch target cpu from "Any" to x86 in the visual studio project config.

dblock wrote Nov 29, 2009 at 7:49 PM

Please test 1.1. I changed the target CPU to be x86, I think the problem is around loading dependent native DLLs.

DGilyaev wrote Oct 19, 2010 at 6:18 PM

I have the same problem on Win7 x64, Server2008R2 x64.
Programm execute normally but if I pass cmd parameters, program fails with message

Could not load file or assembly "SharpSvn, Version=1.6003.1304.38397, Cultu
re=neutral, PublicKeyToken=d729672594885a28"

I've fixed it. Rebuild programm and rebuild SharpSvn library from sources for x64 platform