tfs

Create Build Definition from Template with TFS 2015 .NET Client Libraries

橙三吉。 提交于 2019-12-31 02:15:07
问题 I'm using the .NET Client Libraries for VSTS/TFS 2015 to programmatically create a build definition based off of a template that I've grabbed in another team project. I can get a build definition template (2.0) by using: BuildDefinitionTemplate builddeftemplate = buildHttpClient.GetTemplateAsync(teamProject, templateId).Result; And I can create a build definition by using: BuildDefinition builddef = new BuildDefinition(); builddef.Project = newTeamProject; But there doesn't look like a way to

How to copy and rename a solution under source control in Visual Studio 2013

﹥>﹥吖頭↗ 提交于 2019-12-31 02:09:37
问题 I have a VS2013 solution called ShoppingService.sln with 7 projects under TFS source control. Now I want to make a copy of the solution, rename it to 'BasketService.sln' and have it under source control again. I don't want to make branches of the original solution, since both solutions should co-exist separate from each other. What's the quickest or best way to do this? 回答1: Ok, here's what I ended up doing: Copy entire solution folder to new location. Remove any source control files. They

VS402881: No artifact version is specified corresponding to artifact source 'MyBuild.' Release Management vNext REST API

情到浓时终转凉″ 提交于 2019-12-31 00:52:12
问题 I'm using TFS 2015.2 RTM and I just found out that the Release Management vNext REST API is in 2.2-preview.1 on-premises. I want to create a release, but I don't know the exact JSON to put in the body of the POST request since the documentation only works for VSTS. When I send the request, I get the error message: VS402881: No artifact version is specified corresponding to artifact source 'MyBuild.' Specify a valid value and try again. Here's the JSON: $body = @" { definitionId": 1,

VS402881: No artifact version is specified corresponding to artifact source 'MyBuild.' Release Management vNext REST API

只愿长相守 提交于 2019-12-31 00:52:07
问题 I'm using TFS 2015.2 RTM and I just found out that the Release Management vNext REST API is in 2.2-preview.1 on-premises. I want to create a release, but I don't know the exact JSON to put in the body of the POST request since the documentation only works for VSTS. When I send the request, I get the error message: VS402881: No artifact version is specified corresponding to artifact source 'MyBuild.' Specify a valid value and try again. Here's the JSON: $body = @" { definitionId": 1,

TFS 2013 : Multiple build controller on the same machine

旧城冷巷雨未停 提交于 2019-12-30 18:44:13
问题 I wish we could use multiple build controllers on the same machine because we have many team project collections but they're not used at the same time so there's no real performance issue here and most of our build servers are not used for extended period of time. I know it's possible to do this with TFS 2010 and TFS 2012 (see following post) but it's an unsupported feature. Anyone can tell me if it's now officially supported with TFS 2013, I've not been able to find any useful information

How to copy a work item and its tasks

对着背影说爱祢 提交于 2019-12-30 16:27:11
问题 I would like to make a copy of a work item and all of its task. I'm using this version of the product: 11.0.50727.1 I'm using Scrum 2.0 template for the project If this is possible, how can I do it? 回答1: Have you tried Excel? It's your best friend when doing mass editing of work items. You can copy/paste a number of work items. by selecting all columns except the ID column. Copy them and then paste them at the bottom of the open query in Excel. You need to ensure you're using a Tree based

Does the free Team Explorer client work without Visual Studio

荒凉一梦 提交于 2019-12-30 11:41:47
问题 We are about to setup a cruise control.net with and NAnt and TFS, do I need visual studio 2005/2008 with team explorer installed or can I make this work with just the free Team explorer client 回答1: Team Explorer will install the VS shell, which gives it enough of VS to operate. So strictly the answer is "yes, Team Explorer requires VS", but since VS is included in the Team Explorer install the strict answer is kind of unhelpful :-). Once Team Explorer is installed, you get access to the TF

TFS auto-checkout before checkin

纵饮孤独 提交于 2019-12-30 10:11:36
问题 Does a feature like "TFS auto-checkout before checkin" exist, so that I don't checkout any file until the moment I say "checkin", e.g. in case I only change files temporarily - which happens all the time. In other words, client-side I want to work as if using subversion, regardless of what the TFS server might think. This must be possible, I just wonder if it is easy to setup. In yet other words, until and unless I say 'checkin', other users shouldn't (be able to) bother what files I'm

TFS auto-checkout before checkin

拥有回忆 提交于 2019-12-30 10:10:09
问题 Does a feature like "TFS auto-checkout before checkin" exist, so that I don't checkout any file until the moment I say "checkin", e.g. in case I only change files temporarily - which happens all the time. In other words, client-side I want to work as if using subversion, regardless of what the TFS server might think. This must be possible, I just wonder if it is easy to setup. In yet other words, until and unless I say 'checkin', other users shouldn't (be able to) bother what files I'm

TFS auto-checkout before checkin

谁说胖子不能爱 提交于 2019-12-30 10:09:20
问题 Does a feature like "TFS auto-checkout before checkin" exist, so that I don't checkout any file until the moment I say "checkin", e.g. in case I only change files temporarily - which happens all the time. In other words, client-side I want to work as if using subversion, regardless of what the TFS server might think. This must be possible, I just wonder if it is easy to setup. In yet other words, until and unless I say 'checkin', other users shouldn't (be able to) bother what files I'm