gpt4 book ai didi

TFS/Visual Studio Online 生成定义备份

转载 作者:行者123 更新时间:2023-12-04 22:25:49 25 4
gpt4 key购买 nike

有什么方法可以获取 VSO 构建定义文件,以便将其备份/添加到源代码管理中?

我见过this问题,但 tfpt 似乎不支持与 VSO 的连接(也许我做错了什么?)

tfpt builddefinition /dump <myproj> /collection:https://<myorg>.visualstudio.com/

TF31002: Unable to connect to this Team Foundation Server: https://<myorg>.visualstudio.com/

提前致谢。

最佳答案

感谢 jessehouwing 和一些进一步的网络搜索,以下工作:

tfpt builddefinition /dump "<projName>\<buildDefName>" /collection:https://<myOrg>.visualstudio.com/defaultcollection /filepath:<pathToBackup>

如果您收到此错误:
Could not load file or assembly 'Microsoft.TeamFoundation.Build.Workflow, Version=12.0.0.0, Culture=neutral, PublicKeyTo
ken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

您需要复制 Microsoft.TeamFoundation.Build.Workflow.dll
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies


C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools

(感谢 http://blogs.ripple-rock.com/richarderwin/2014/09/11/CompareTFSBuildDefinitions.aspx)

关于TFS/Visual Studio Online 生成定义备份,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27147404/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com