任何GOOD库可以从.net应用程序访问SVN(使用C#)。 到目前为止我发现的只有3个,我会尝试的是:
SVN# SharpSVN NSvn我想创建一个非常简单的SVN客户端!
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 NSvnI want to create a very simple SVN client!
最满意答案
SharpSvn被设计为.Net 2.0和Subversion 1.5及更高版本。 它将所有subversion依赖项集成在一个可直接从.Net(XCopy可部署)中可用的dll集合中。 SharpSvn的其他优点之一是它隐藏了所有的内存管理,并在异常中转换了Subversion错误,更重要的是反之亦然。 (调试回调非常简单)
AnvSVN在AnkhSVN 2.0之前使用NSvn。 之后,它移动到SharpSvn。
Codeplex的IronSvn项目关闭了。 (建议使用SharpSvn)。
Svn#和它的2.0继承者Svn.Net是Subversion C api的简单包装器。 他们要求颠覆版本的二进制文件工作。 并且您必须管理apr池和一些apr集合从托管代码编组。 这是这个列表中唯一的跨平台解决方案。 (在linux上也一样)
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 was used by AnkhSVN before AnkhSVN 2.0. It moved to SharpSvn after that.
The IronSvn project on Codeplex closed down. (It suggests using SharpSvn).
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)
更多推荐
发布评论