Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Subversion API that can be used to program against in .NET

Tags:

c#

.net

svn

Is there an API to access Subversion from C#?

like image 631
Developer Avatar asked Nov 13 '08 18:11

Developer


4 Answers

SharpSvn is a new Subversion wrapper library for .Net/C# that hides all interopand memory management for you and includes a staticly compiled Subversion library for easy integration. It is probably the only Subversion binding designed to perform well in a multithreaded environment.

SharpSvn is not platform independent, but it makes it really easy to use Subversion from your .Net applications. Several projects switched from other libraries to using SharpSvn in the last year. (AnkhSVN, Collabnet desktop for Visual Studio, SharpForge, to name a few)

like image 136
Bert Huijben Avatar answered Oct 17 '22 13:10

Bert Huijben


Svn.NET is a continuation (fork) of SubversionSharp mentioned in CMS's answer. SubversionSharp is limited to the .NET 1.1 platform.

Svn.NET supports the following platforms:

  • .NET 2.0 on Windows Platforms
  • Mono on Win32 (2.0 framework)
  • Mono on Linux (2.0 framework)
like image 27
splattne Avatar answered Oct 17 '22 12:10

splattne


Check SubversionSharp, its basically a C# wrapper library that fully covers the client API of Subversion.

like image 28
Christian C. Salvadó Avatar answered Oct 17 '22 14:10

Christian C. Salvadó


I tried Svn.NET at one point and remember that it didn't do everything that I was looking for. If Svn.NET works for you I'd definitely recommend that route, but if you have problems like I did you can get wild and try using http://www.ikvm.net/ to convert http://svnkit.com/ to a .NET assembly. I definitely got this to work and was experimenting with it in my project when we decided to move away from SVN after all and I shelved the whole thing.

like image 31
MichaC Avatar answered Oct 17 '22 13:10

MichaC