Developer
Developer

Reputation: 18679

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

Is there an API to access Subversion from C#?

Upvotes: 19

Views: 9872

Answers (4)

Bert Huijben
Bert Huijben

Reputation: 19612

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)

Upvotes: 24

MichaC
MichaC

Reputation: 153

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.

Upvotes: 2

splattne
splattne

Reputation: 104040

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)

Upvotes: 15

Christian C. Salvadó
Christian C. Salvadó

Reputation: 827426

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

Upvotes: 2

Related Questions