读取存储库并保存链接C# [英] Reading a repository and saving the link C#
问题描述
private void CheckUpdate()
{
//我想读取存储库,例如:
www。*** **。*** / tags / 1.0.0.0 /
www。*****。*** / tags / 1.0.0.1 /
www。*****。*** / tags / 1.0.0.4 /
www。* ****。*** / tags / 1.0.0.3 /
www。*****。*** / tags / 1.0.0.2 / < br $>
并保存最新版本的链接:/1.0.0.4/
并保存为www。*****。* ** / tags / 1.0.0.4 / myapp.exe
}
我是什么尝试过:
private void CheckUpdate()
{
getSubDirectoryList(c: \\);
Console.WriteLine(按Enter继续:);
Console.Read();
//我不知道如何比较结果并保存它
}
private void CheckUpdate()
{
// i want to read a repository , for example :
www.*****.***/tags/1.0.0.0/
www.*****.***/tags/1.0.0.1/
www.*****.***/tags/1.0.0.4/
www.*****.***/tags/1.0.0.3/
www.*****.***/tags/1.0.0.2/
and save the link with the latest version : /1.0.0.4/
and save it as www.*****.***/tags/1.0.0.4/myapp.exe
}
What I have tried:
private void CheckUpdate()
{
getSubDirectoryList("c:\\");
Console.WriteLine("Press Enter to continue :");
Console.Read();
// i don't know how to compare result and save it
}
推荐答案
你想这样做吗? for svn ??
这样做:
使用svn api,
使用你可以访问的事件参数 .revision 物业。
这可能会有所帮助
[ Check here here ]
Are you trying to do this for svn??
Do this:
Use svn api,
using event args you can den access .revision property.
May be this will help
[Check here]
这篇关于读取存储库并保存链接C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!