i have to access/commit/update SVN repository in WPF application using SVN API or libraries [closed]
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
I want to create a very simple SVN client!
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)
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.
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).
- what about NSvn which is (if i'm not wrong) also the core of ankhsvn (check out the tigris.org website for more information)