SVN库的。NET?SVN、NET

2023-09-02 20:43:35 作者:与爱同行

可从.NET应用程序访问SVN什么好的库(使用C#)。在只有3个,我发现,到目前为止,我将尝试为:

Any GOOD libraries available to access SVN from .net application (using C#). The only 3 I found so far that I will be trying out is:

SVN# SharpSVN NSvn SVN# SharpSVN NSvn

我想创建一个非常简单的SVN客户端!

I want to create a very simple SVN client!

推荐答案

SharpSvn被desiged对于.NET 2.0和Subversion 1.5及更高版本。它集成了所有的颠覆依赖于一组的dll是直接使用从.net(的XCopy部署)。之一SharpSvn的另一长处是它隐藏了所有的内存管理和转换的Subversion错误异常,而且更重要的,反之亦然。 (使调试回调很容易)

SharpSvn was desiged for .Net 2.0 and Subversion 1.5 and later. It integrates all subversion dependencies in a single set of dll that is directly usable from .Net (XCopy deployable). One of the other strong points of SharpSvn is that it hides all memory management and transforms Subversion errors in exceptions, and more importantly vice versa. (Makes debugging callbacks very easy)

NSvn AnkhSVN的是2.0之前使用AnkhSVN的。它移动到SharpSvn之后。

NSvn was used by AnkhSVN before AnkhSVN 2.0. It moved to SharpSvn after that.

在codePLEX的IronSvn项目倒闭。 (它建议使用SharpSvn)。

The IronSvn project on Codeplex closed down. (It suggests using SharpSvn).

的Svn#和2.0的继任Svn.Net是颠覆C API普通包装。他们需要颠覆版本的二进制工作。你必须管理四月池和一些年利率收集来自托管code编组自己。这是在此列表中的唯一一个跨平台解决方案。 (作品一样好Linux上)

Svn# and its 2.0 successor Svn.Net are plain wrappers of the Subversion C api. They required the binaries of a subversion release to work. And you must manage the apr pools and some of the apr collection marshalling yourself from managed code. This is the only cross platform solution in this list. (Works just as well on linux)