Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

i have to access/commit/update SVN repository in WPF application using SVN API or libraries [closed]

Tags:

c#

.net

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
  • NSvn

I want to create a very simple SVN client!

like image 444
rudigrobler Avatar asked Oct 17 '08 11:10

rudigrobler


2 Answers

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)

like image 107
Bert Huijben Avatar answered Sep 22 '22 19:09

Bert Huijben


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.

like image 24
Mathias F Avatar answered Sep 22 '22 19:09

Mathias F