tfs2013

How to prevent TFS 2013 from locking binary files?

泄露秘密 提交于 2019-12-05 14:46:54
We work with TFS 2013 with Visual Studio 2013, and using Gated Check-In. With Gated Check-In it's impossible to preserve pending changes locally, if one of the files is locked . We don't use locks at all, but: If you check out a file that is of a type that is treated as binary, Visual Studio Team Foundation Server might automatically lock it because binary files cannot be merged. ( MSDN ) We want to configure TFS to not lock binary files. How can we do this? In Visual Studio, use the "Team" menu, then "Team Project Collection Settings", then "Source Control..." From there you can change which

Stack Rank numbers suddenly messed up in TFS 2013

夙愿已清 提交于 2019-12-05 11:52:29
I don't know if it is related in some way to TFS 2013 Udpate 2 that I performed recently but suddenly many Stack Rank numbers we set manually are messed up and got very high random value. I have just started using TFS in my daily work and I would like to know if I this behavior is a bug or is considered correct. In the second case is there an option to set in order to avoid this automatic numbering? Ewald explains everything in this post Behind the scenes: the Backlog Priority or Stack Rank field After we shipped the change, we have received multiple reports from customers who were confused

Upgrading to TFS 2013. Parameters tab is blank when queuing up a build

吃可爱长大的小学妹 提交于 2019-12-05 08:11:11
I'm trying to migrate from TFS 2012 Update 2 to TFS 2013. Following the documentation I installed TFS 2012.2 on the new hardware, backed up/restored the databases, then installed TFS 2013 as an upgrade. I can see the Team Project and the builds. The problem is when I right click a build to queue up a new one and click on the Parameters tab I just get a blank panel. My best guess is there was an error loading the parameters. Note those builds worked fine in TFS 2012.2. If I create a new build from scratch and I use their new default template (TfvcTemplate.12.xaml) I still get the same error. I

Why does my TFS build waste time eventhough there is no Drops folder?

≯℡__Kan透↙ 提交于 2019-12-05 06:15:35
We have a small setup of TFS server 2013 and running builds for a single project. For that project we only have a single build definition which has the Drops feature turned off. That is to say, This build does not copy output files to a drop folder . Yet we get this message every time we save the build definition: This build wastes time and computer resources because your working folders include the team projects (... Project), which include a Drops folder. You should cloak the Drops folders. See http://go.microsoft.com/fwlink/?LinkId=269693 . Normally I would comply and cloak the Drops folder

Is there a way to git gc / prune on a remote Git repository hosted by TFS 2013?

六眼飞鱼酱① 提交于 2019-12-05 04:05:26
Over time the size of .git folder grows for Git repositories hosted on TFS 2013 (Update 4). Whenever cloning those repositories, .git folder can be huge in size initially, until git gc --aggressive --prune=now is performed manually. Microsoft says , that TFS 2013 does not perform git gc operations on its own. Unfortunately, it also seems impossible to force TFS to do that. Is there a way to gc/prune a Git repository hosted in TFS 2013 to reduce the initial size of .git directory? Found answer here: https://connect.microsoft.com/VisualStudio/feedback/details/1019193/unable-to-clean-a-git-repo

How to get a Count of the Items in my TFS Local Workspace?

≡放荡痞女 提交于 2019-12-05 03:04:34
When I open my Visual Studio and get a solution from our TFS I have following message in the Output Window: TF401190: The local workspace [MACHINE_NAME;USER_NAME] has 158412 items in it, which exceeds the recommended limit of 100000 items. To improve performance, either reduce the number of items in the workspace, or convert the workspace to a server workspace. This is not an error, but a warning and I can work OK, although I feel there is a real performance hit during my work. To resolve this I would like on one hand to "cloak" single branches/folders that I don't use. On the other hand I don

Howto query TFS 2013 API for git repositories in a TeamProjectCollection?

纵饮孤独 提交于 2019-12-04 14:30:01
Does anybody know how to get all git repositories within an TFS 2013 TeamProjectCollection? Documentation is very poor for git related stuff. Have you tried looking at Microsoft.TeamFoundation.Git.Client? Some pseudo code GitHttpClient client = new GitHttpClient("collectionurl", creds) var gitRepos = client.GetRepositoriesAsync().Result The Web API's are apparently the correct (and better documented) approach. e.g. GET http://mytfsserver:8080/tfs/defaultcollection/_apis/git/repositories See: http://www.visualstudio.com/integrate/reference/reference-vso-git-repositories-vsi 来源: https:/

VSO and multiple projects for a single product team

吃可爱长大的小学妹 提交于 2019-12-04 12:15:39
问题 We have a team of around 10 developers working on a new product. We have split this product into two team projects on Visual Studio Online. Developers can work on both projects during any one sprint. Although we have two team projects, the entire team works together as one agile unit. Why did we do this? We want separate product backlogs Each project has their own Product Owner But this has led to two problems: We have two burn downs, which can make it difficult to track team progress. We

Access TFS Team Query from Client Object API

喜欢而已 提交于 2019-12-04 11:59:56
问题 Is there a way to run a shared team query, by name, through the TFS 2013 client object API I'm working on a C# script that will do some work based off of the results of a shared team query. I don't want to have to maintain the query in the TFS UI as well as in my script; I'd prefer to just run the registered query that my team uses, but then just play with the results. When I write "registered query" I'm just referring to a query that I wrote in the TFS UI and saved as a shared query. In

TFS 2013 (Update 2) Team Alerts not sending emails

六月ゝ 毕业季﹏ 提交于 2019-12-04 04:58:39
I've followed the discussion here and I do have a similar case right after I applied Update-2 to TFS 2013 (Update-1) . NOTE: Everything used to work fine prior the upgrade. Personal alerts DO work, so it is not an obvious SMTP server error. Team alerts DO NOT work. TFS 2013 IS CONNECTED to Active Directory. All users have email addresses. No errors whatsoever in event viewer. I would appreciate the help. Thanks. I think I figured out what is happening. It all boils down to this: Teams who are not part of Contributors group are not able to receive email notifications. This behavior is new and