tfs

Adding Active Directory users to Team Foundation Server

偶尔善良 提交于 2020-01-15 09:48:09
问题 How can I add AD users to TFS users from a computer that can't connect to AD/domain? Structure is like this: TFS Server, in AD/domain My computer, wtih VS.NET, can't join to AD/domain Only way to ad AD users to TFS users list I could find is in VS.NET->Team->Team Foundation Server Settings->Security->Add users or groups->Windows user or group. Since my computer can't join to AD I can't see the AD in Locations list. Is there a way to do this without installing VS.NET to the server? 回答1: If you

What is the difference between GetCommitsAsync and GetCommitsBatchAsync?

荒凉一梦 提交于 2020-01-15 09:08:52
问题 I am using methods from GitHttpClientBase class from Microsoft.TeamFoundation.SourceControl.WebApi namespace in Microsoft.TeamFoundationServer.Client package. There are 2 similar methods for retrieving commits: GetCommitsAsync and GetCommitsBatchAsync . Do you know what is the difference? When each of them should be used? 回答1: There isn't any difference between them. They both retrieve git commits for a project and use the same input parameters and return the same object, you can check this

What is the difference between GetCommitsAsync and GetCommitsBatchAsync?

此生再无相见时 提交于 2020-01-15 09:08:11
问题 I am using methods from GitHttpClientBase class from Microsoft.TeamFoundation.SourceControl.WebApi namespace in Microsoft.TeamFoundationServer.Client package. There are 2 similar methods for retrieving commits: GetCommitsAsync and GetCommitsBatchAsync . Do you know what is the difference? When each of them should be used? 回答1: There isn't any difference between them. They both retrieve git commits for a project and use the same input parameters and return the same object, you can check this

Clone VSTS Build Definition in C#

隐身守侯 提交于 2020-01-15 07:45:10
问题 I'm using BuildHttpClient's .GetDefinitionAsync and .CreateDefinitionAsync to clone a VSTS Build Definition. This works fine but I'd like to create the build defs in a different folder, other than the root folder of the project. I can add a folders via the "Manage Folders" link web but how can I do this programatically? I've tried the following: buildDef = JsonConvert.DeserializeObject<BuildDefinition>(json); buildDef.BuildNumberFormat = buildNumFormat; buildDef.Name = newBuildDefName; Uri

TFS Delete duplicated users after domain change

女生的网名这么多〃 提交于 2020-01-15 07:40:49
问题 We've just migrated our TFS 2013.3 server to a new domain. It all appeared to go to plan - I migrated the server and then migrated the Identities successfully, but instead of changing user identities to their new domain accounts, it has just added new accounts so now everybody is in the system twice . In general I've been able to mitigate the symptoms of this, but it has broken user capacities in Web Access - each user's name appears twice , and their capacity graph only shows correctly if

TFS Delete duplicated users after domain change

a 夏天 提交于 2020-01-15 07:40:31
问题 We've just migrated our TFS 2013.3 server to a new domain. It all appeared to go to plan - I migrated the server and then migrated the Identities successfully, but instead of changing user identities to their new domain accounts, it has just added new accounts so now everybody is in the system twice . In general I've been able to mitigate the symptoms of this, but it has broken user capacities in Web Access - each user's name appears twice , and their capacity graph only shows correctly if

TFS 2010 Build, constant drop location, random access issue

若如初见. 提交于 2020-01-15 07:15:08
问题 We are using TFS 2010 Build to deliver libraries on a fixed location. ( \\server\product-R0\latest ) Other team projects reference the library from this location. On my build process I check if Build and unit tests passed, if it's ok I: Transform web/app.config Delete the latest folder using a "DeleteDirectory" activity Create the latest folder using a "CreateDirectory" activity Copy the binaries in the folder using "CopyDirectory" activity I delete the folder first because if we rename an

How can I change the time interval for the generation of reports in TFS 2010?

£可爱£侵袭症+ 提交于 2020-01-15 06:03:48
问题 I installed TFS 2010 just to test, and I have no experience with previous versions. Now, the problem is that I have just created some New Bugs items but when I run the Report " Bug Status " they are not shown. Are these reports created and cached at certain interval of time? Is there a setting that I can change to force the creation of a report? Thank you in advance, Marco 回答1: You'll need to update the refresh frequency of the warehouse: http://msdn.microsoft.com/en-us/library/ms244694(VS.80

Build for multiple configurations in TFS Build

别等时光非礼了梦想. 提交于 2020-01-15 05:15:08
问题 Is it possible to make TFS Build 2017 to build binaries for all this configuration combinations: VS2015, VS2017 Win32, x64 Debug, Release Do I have to make a build step for each of this combinations, or can I use some sort of magic to do everything in a simple way. 回答1: You need to enable Multi-configuration in Options tab of build definition. Article: How do I build multiple configurations for multiple platforms? After that, it will split configurations to multiple builds during the build.

Alert when TFS team query results change

时光怂恿深爱的人放手 提交于 2020-01-15 04:32:04
问题 Is it possible to create a TFS alert that notifies the user when the results of a certain query has changed?! Example: I have a query which finds 10 work items as a result one of those work items has changed that it does not fulfill this query anymore (query results should be 9). I would like a notification telling me that the results of the query has changed (also referring to the work item that has changed) The other way around should be also valid, that a work item was modified to fulfill