Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How do I get the IBuildDetail object from TFS using the the builds URI?
e.g. the URI is vstfs:///Build/Build/1546
在构建服务器类上使用 GetBuild() 方法。它需要一个 Uri 作为参数。
var buildDetail= buildServer.GetBuild(new Uri(builduri));