SVN Libraries for .NET? [closed]

2019-01-07 08:57发布

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:

I want to create a very simple SVN client!

标签: c# .net svn
4条回答
Emotional °昔
2楼-- · 2019-01-07 09:02
  • what about NSvn which is (if i'm not wrong) also the core of ankhsvn (check out the tigris.org website for more information)
查看更多
倾城 Initia
3楼-- · 2019-01-07 09:05

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)

查看更多
仙女界的扛把子
4楼-- · 2019-01-07 09:06

I'm using SharpSVN at the moment - works fine for what I need (although it is for an automated process, so no UI work necessary).

查看更多
Juvenile、少年°
5楼-- · 2019-01-07 09:19

I used SharpSvn. It was easy to integrate and works well for me. If you need some sample code have a look at this project https://github.com/bhank/SVNCompleteSync.

查看更多
登录 后发表回答