Diffrent ways to travers buildetails of a build definition with vs 2005 and vs 2008

来源:互联网 发布:可得眼镜网 知乎 编辑:程序博客网 时间:2024/05/12 21:41

 

Sometimes you needtraverse the build details for a build definition and fetch their information.

I have thefollowing code for TFS2008. Since the tfs2005 variant is almost not documented,it tooks me almost a whole day to figure out some “deprecated” features byTFS2005 what does the same job, but written differently.

TFS2008:

 

TFS2005: