尝试将SharpSVN添加到我的C#项目中时,使用与SharpSVN相关的调用进行编译会出现以下错误:
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.
我所做的是从下载的SharpSVN zip文件中添加引用并添加了。
当我编译它时,它能够正常工作,但当我添加以下内容时:
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.
我所做的是从下载的SharpSVN zip文件中添加引用并添加了。
using SharpSvn;
当我编译它时,它能够正常工作,但当我添加以下内容时:
string targetPath = "https://bobl/svn/ConsoleApplication1";
SvnTarget target;
SvnTarget.TryParse(targetPath, out target);
它出现了这个错误。我已经搜索了这个错误,但是没有找到解决方案。