SharpSVN and C# Problem
Posted
by Sam F
on Stack Overflow
See other posts from Stack Overflow
or by Sam F
Published on 2010-06-08T17:40:44Z
Indexed on
2010/06/11
18:33 UTC
Read the original article
Hit count: 719
When trying to add SharpSVN to my C# project, compiling with SharpSVN related calls gives me this error:
FileLoadException was Unhandled Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
What I did was add the References from the downloaded SharpSVN zip file and added the
using SharpSvn;
When I compile that it works fine, but when I add:
string targetPath = "https://bobl/svn/ConsoleApplication1";
SvnTarget target;
SvnTarget.TryParse(targetPath, out target);
It breaks with that error. I've searched this error and have had no luck in finding a solution.
© Stack Overflow or respective owner