tfs

How to list files of a team project using tfs api?

你。 提交于 2020-01-10 18:54:13
问题 I am wondering if there is a way for me to list all 'files' containted in a tfs team project. What I am aiming to do is search for files of a particular name that dont have fixed paths within TFS caused by branching ($/MyTeamProject/Main/Build/instruction.xml and $/MyTeamProject/Branches/Release_1.0). Once a file would be found I would like to manipulate it. I guess that we are talking items when it comes to entities containted within a team project and not traditional files and therefore

使用TFS玩转Docker自动化部署

北城以北 提交于 2020-01-10 11:15:32
简介 本文将介绍如何通过微软的Team Foundation Server平台,结合Docker完成程序的持续集成、持续部署。这里小编以.NET Core为例向大家分享整个DevOps流水线的搭建过程以及思路,其他语言平台均适用。 作者:周文洋 LEANSOFT研发总监,认证 Scrum Master,曾为多家客户提供微软Team Foundation Server实施咨询、二次开发、报表定制等服务,包括:中国农业银行, 博时基金, 斯伦贝谢, 京东商城,国电南自等,现负责公司核心产品的开发工作。 流水线概述 开发人员编写代码,并提交代码到TFS配置库(Git \ TFVC), 触发持续集成。 构建代理服务器拉取最新代码到服务器, 通过Docker容器完成应用的编译、测试工作 ,并生成镜像推送到镜像仓库,最后 更新 docker-compose.yml镜像版本 并回传到TFS Build Artifact, 触发持续部署。 构建代理服务器根据目标环境, 替换docker-compose.yml内的环境变量 ,并复制docker-compose.yml文件到目标环境,运行应用。 流水线拓扑图 项目配置 在配置TFS持续集成之前,需要先在项目根目录下添加如下几个文件,每个文件独立分工,各负其责,以便我们完成后面的持续集成,持续部署。大家可以根据自己的实际需求来增减。

Visual Studio 2015 takes a long time (10 - 15 minutes) to reload projects after a “Get Latest” from TFS

不问归期 提交于 2020-01-10 05:04:46
问题 My question is very similar (but not identical to) this one. There's also a discussion of a similar issue on a MSDN blog. However, the answers given in those posts didn't really resolve the issue for me. I have a large solution file (currently 106 projects, which I've always considered less than ideal, but I didn't have a say in that). When I do a "Get Latest" from Visual Studio involving a large number of changes, Visual Studio spends literally 10 - 15 minutes reloading projects (not an

Which Continuous Integration tool are you using? [closed]

ⅰ亾dé卋堺 提交于 2020-01-09 23:42:39
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Duplicate: Continuous Integration Cruise Control .NET alternatives? I'm planning to start Continuous Integration where I work. I used

Visual Studio Online migration (VSO to VSO)

喜夏-厌秋 提交于 2020-01-09 07:15:13
问题 We are attempting to migrate from one Visual Studio Online account to another Visual Studio Online account. This is different from an on-premise TFS to Visual Studio Online migration. Most articles explain a migration using the on-premise to VSO approach, only. Accounts https:\vsoaccount1.visualstudio.com\DefaultCollection https:\vsoaccount2.visualstudio.com\DefaultCollection For TFS to VSO, we found a solution by using OpsHub Visual Studio Online Migration Utility. We also tried to use the

How to resolve this?, are you missing assembly reference

纵饮孤独 提交于 2020-01-07 08:03:33
问题 The namespace client does not exist in Microsoft.teamfoundation are you missing assembly reference I have added Nuget packages Microsoft.TeamFoundationServer.Client and Microsoft.TeamFoundationServer.ExtendedClient but I'm still facing this issue. I want to extract work item details from the TFS. 回答1: Microsoft.TeamFoundationServer.Client provides access to version control, work item tracking, build, and more via public REST APIs. Microsoft.TeamFoundationServer.ExtendedClient works with and

VS 2012 TFS Source Control Explorer - Add Item to Right Click Menu

情到浓时终转凉″ 提交于 2020-01-07 07:16:07
问题 I have written a PowerShell script that takes a single file as an argument and runs a compare to another file in the background. I'd like to be able to right click a file in Team Foundation Server's Solution Explorer, and choose that file as the argument for my script. I've done the exact same thing for files in the Windows Explorer, but I can't quite figure out how to do it for TFS. I thought the registry items to be edited would be located at HKCU\Software\Microsoft\VisualStudio\11.0

TFS Build XAML Template at “AssociateChanges” step get all the Work Items since begging of the source code branch created

一曲冷凌霜 提交于 2020-01-07 06:50:14
问题 I have asked a similar question TFS Build Configuration: get all the Work Items Details for a particular build And based on the answer of above question I have the below query. I decided to start a new thread for new question rather than confusing people in same thread. I am using a default XAML template for workflow of TFS build configuration. Now my requirement is that I need all the Work Items since beginning whenever I trigger a build event for any build definition regardless of last

教程:VS2010 之TFS入门指南

丶灬走出姿态 提交于 2020-01-07 05:12:51
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 本月初,我们发布了TFS新基础配置。该配置为建立支持源码管理,工作项和生成(builds)的TFS版本提供了便利。 这是一个好机会将你在VSS(Visual Source Safe)上的资源迁移到TFS,并且还可以选用一些新的特性。现在VS2010 Beta2的正式版已经发布了,下面是该系统的入门指南。 这篇文章对那些还没有安装或使用过TFS的人将最有帮助。TFS有对复杂环境的良好支持。比如,报表,SharePoint的整合,支持跨多域,分布式数据库等等。不过我不打算在这里讲述其中的任何一个部分,我的目的是帮助你们了解为什么我们要选择TFS,以及如何使用它。如果你是VSS的用户, 在今后的文章中,我会讲述如何将VSS数据库迁移到TFS上。 在上图中,每个系统都有独立的存储空间,资源标识集,命令和工具集。要让整个系统工作起来,就像把一组自定义立体组件联接在一起:可以实现,但工作量巨大,而且可能在一些地方出现纰漏。 我更想要的就是这样一个系统,它可以将这些工作整合到一起并实现我默认的工作流程。 这个整合实现了一些非常常见的场景。例如每天我会编辑源代码,生成产品并测试它,报Bug并修复它,周而复始。当有一个整合的系统可以全部支持这些工作流程时,那么所有的工作就可以被关联起来。例如,当我签入Bug的修复时

VS2010 之TFS入门指南

人走茶凉 提交于 2020-01-07 05:11:50
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 教程:VS2010 之TFS入门指南 [原文发表地址] Tutorial: Getting Started with TFS in VS2010 [原文发表时间] Wednesday, October 21, 2009 1:00 PM 本月初,我们发布了TFS新基础配置。该配置为建立支持源码管理,工作项和生成(builds)的TFS版本提供了便利。 这是一个好机会将你在VSS(Visual Source Safe)上的资源迁移到TFS,并且还可以选用一些新的特性。现在VS2010 Beta2的正式版已经发布了,下面是该系统的入门指南。 这篇文章对那些还没有安装或使用过TFS的人将最有帮助。TFS有对复杂环境的良好支持。比如,报表,SharePoint的整合,支持跨多域,分布式数据库等等。不过我不打算在这里讲述其中的任何一个部分,我的目的是帮助你们了解为什么我们要选择TFS,以及如何使用它。如果你是VSS的用户, 在今后的文章中,我会讲述如何将VSS数据库迁移到TFS上。 在上图中,每个系统都有独立的存储空间,资源标识集,命令和工具集。要让整个系统工作起来,就像把一组自定义立体组件联接在一起:可以实现,但工作量巨大,而且可能在一些地方出现纰漏。 我更想要的就是这样一个系统