有人知道用于 Subversion 的好的 C# API 吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/481247/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 05:06:52  来源:igfitidea点击:

Does anyone know of a good C# API for Subversion?

c#.netsvnsharpsvn

提问by mr mo

I'm looking to make calls out to a subversion repository, but I would like to write it in C#. Does anyone know of any good libraries?

我希望调用 subversion 存储库,但我想用 C# 编写它。有谁知道任何好的图书馆?

采纳答案by M4N

Have a look at SharpSVN. This is an open-source binding of the Subversion Client API for .Net 2.0 applications.

看看SharpSVN。这是用于 .Net 2.0 应用程序的 Subversion Client API 的开源绑定。

For example, this library is used by the AnkhSVNVisual Studio Add-In.

例如,此库由AnkhSVNVisual Studio 加载项使用。

回答by GEOCHET

I recommend you look at the Tortoise SVN source code.

我建议您查看Tortoise SVN 源代码

It is mostly in C++, but since it is all done in VS, it should be easy to wrap up and use much of the code again.

它主要是用 C++ 编写的,但由于它都是在 VS 中完成的,因此应该很容易包装并再次使用大部分代码。

You can also try SubversionSharpif you want less heavy lifting (however it is not yet a stable release, so be cautious).

如果你想减少繁重的工作,你也可以尝试SubversionSharp(但它还不是一个稳定的版本,所以要小心)。

回答by Adam