如何将SVN存储库连接到C#.Net [英] How to connect SVN Repository to C#.Net

查看:91
本文介绍了如何将SVN存储库连接到C#.Net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助我将C#.net连接到SVN存储库,因为我需要做一个项目,该项目将列出存储库中的所有文件并允许他们也下载它.

我正在使用Visual Studio 2010 C#

Can someone help me to connect C#.net to SVN repository because i need to do a project that will list all the files from the repository and allow them also to download it.

Im using Visual Studio 2010 C#

推荐答案

看看下面的链接.

http://sdesmedt.wordpress.com/2006/12/21 /how-to-access-subversion-from-c/ [
Have a look at below link.

http://sdesmedt.wordpress.com/2006/12/21/how-to-access-subversion-from-c/[^]


您可以尝试 TortoiseSVN [^ ].

另一个工具可能是DotSVN-请参见使用DotSVN从.NET访问Subversion存储库 [
You can try TortoiseSVN[^].

Another tool could be DotSVN - see Accessing the Subversion repository from .NET using DotSVN[^].


一个答案是SharpSvn作为AnkhSVN的接口,请参见:

http://en.wikipedia.org/wiki/AnkhSVN [ http://sharpsvn.open.collab.net/ [ http://msdn.microsoft.com/en-us/library/system.diagnostics .process.aspx [ ^ ].

请参阅Subversion客户的比较表: http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients [ ^ ].

—SA
One answer is SharpSvn as an interface to AnkhSVN, see:

http://en.wikipedia.org/wiki/AnkhSVN[^],
http://sharpsvn.open.collab.net/[^].

Maybe you can consider a pretty simple approach: use command-line Subversion client which is available in every bundle and use System.Diagnostics.Process.Run to run it with different command lines.
See http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx[^].

Refer a comparison chart of subversion clients: http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients[^].

—SA


这篇关于如何将SVN存储库连接到C#.Net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆