如何为Drop Location附加子网? [英] How to append subnet for Drop Location?
本文介绍了如何为Drop Location附加子网?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
关于团队资源管理器,我们可以在构建定义下定义drop文件夹位置。
示例:我定义我的将文件夹位置删除为
\\home \ Drop
。
我们可以硬编码在我们的.cs文件中追加子网,例如
\\\\ my.com.my \ Drop
,而不在构建定义中更改它?如果可以,你好吗?
我是TFS新手。希望大家能给我一些指导。谢谢!
我正在使用VS 2010 64位,Framework 4.0,TFS。
解决方案
这是我的解决方案。对不起,我迟到了。希望它可以帮助其他人。
string local = buildDetail.DropLocation;
string global = local.Replace(local, \\\\\\ nome.com.my \\ Drop);
Hi all,
About Team Explorer, we can define the drop folder location under build definition.
Example: I define my drop folder location as
\\home\Drop
.
Can we hard code it to append subnet such as
\\home.com.my\Drop
in our .cs file without changing it in build definition? If can, how ya?
I am new to TFS. Hope you all can give me some guidance. Thanks!
I am using VS 2010 64bits, Framework 4.0, TFS.
解决方案
This is my solution that worked. Sorry for the late update. Hope that it might help others.
string local = buildDetail.DropLocation; string global = local.Replace(local, "\\\\home.com.my\\Drop);
这篇关于如何为Drop Location附加子网?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文