[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: csharp bindings (success!) and Svn.NET

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2006-07-13 20:50:33 CEST

Toby Johnson wrote:
> Lieven Govaerts wrote:
>> Instead starting all over in C#, maybe you can reuse the bindings
>> used by
>> AnkhSVN? This archived mail contains more information:
>> http://svn.haxx.se/users/archive-2004-05/0404.shtml. AnkhSVN itself is
>> Windows only, but maybe NSVN isn't.
>> Searching google also resulted in this project, which seems to target
>> Mono
>> also:
>> http://www.softec.st/en/OpenSource/ClrProjects/SubversionSharp/SubversionSha
>> rp.html
> I had seen the SubversionSharp stuff before but didn't realize AnkhSVN
> also had a managed library. I didn't look much at SubversionSharp
> since it's unmaintained but considering the stability of the 1.0 SVN
> API maybe that was a hasty decision.
> Thanks for the info, looks like I have several options to explore
> further...

To follow up... I started off trying to get the AnkhSVN NSvn bindings to
compile and ran into numerous issues. I was never able to get them to
compile myself, and using just the DLLs from the latest MSI, I got some
weird Loader errors that had something to do with a DLL trying to invoke
managed code too early. I'm not at all comfortable debugging
managed/unmanaged interop issues so I decided to bail on the AnkhSVN

I then looked into the SubversionSharp stuff, and with surprisingly
little effort was able to get it compiled with Visual Studio 2003 and
the Subversion 1.3 libraries. Well, at least I'm claiming victory for
the moment, because all NUnit tests pass and the sample command-line
test program is able to checkout and perform status checks against a
live repo.

So, seeing as how the original author (Softec) seems to have
discontinued development on this project, and it was released under the
LGPL, I have decided to pick up where they left off with a new project:
Svn.NET. I believe this name is more appropriate since the fact that
it's written in C# is largely irrelevant.

My first order of business will be to get everything working easily
under Visual Studio 2005 / .NET 2.0, as well as update the code to the
latest Subversion library (even though I compiled it against 1.3, it is
not using any new APIs since the 1.0 line), at which point I hope to
release pre-compiled bindings (including the SVN client library DLL)
that Windows developers can use without having to compile anything

Anyone who would like to help out with this effort is welcome. I would
also be delighted to make this as Mono-friendly as possible, but at the
moment I'm concentrating on Visual C# and .NET 2.0.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 13 20:52:05 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.