3

I would like to use the SharpSVN library to access SVN API, how can I access the SharpSVN namespace from my code? I downloaded the library, it doesn't seem to be code files, but some DLLs, some .exe/.xml.

Thanks!

nubela
  • 1
  • 24
  • 75
  • 123

3 Answers3

4

I doubt you will be able to use SharpSVN as a cross-platform library given its dependency on the Visual C++ runtime per http://sharpsvn.open.collab.net/

It will of course work on Mono on Windows, but that's probably not what you're after.

Michael Greene
  • 10,343
  • 1
  • 41
  • 43
  • 3
    Based on this blog post, even MonoDevelop uses different SVN bindings on Windows and other OSs, http://foodformonkeys.blogspot.com/2009/06/monodevelop-installer-for-windows.html – Lex Li Feb 08 '10 at 08:12
0

If you have the Mono IDE, you should be able to reference dlls and other .net assemblies to your project. I believe SharpSvn is coded in .NET 2.0 which is supported by Mono. So you should be good to go.

Steven Pardo
  • 440
  • 2
  • 11
0

As any other library, you add it as a refference, and then access it using either a using statement, or a the fully qualified name.

See MSDN http://msdn.microsoft.com/en-us/library/sf0df423.aspx

Claus Jørgensen
  • 25,882
  • 9
  • 87
  • 150