tfs2013

TFS 2013 convert server path to local path

非 Y 不嫁゛ 提交于 2019-12-04 04:10:25
问题 How would I convert server path like "$/Test/BuildResources" to ex: "D:\test\etc.." I'm running TFS 2013. Would I use "GetWorkspace" item? When I try to use "GetWorkspace" and specify "$/Test" in the Name field I get an error message. Not sure if this is the way to do it. thanks EDIT: This is what I tried. This is my setup: I'm trying to convert "$/IW_Xavier/Deployment" to local path I also added GetWorkspace and set it up like this: But it doesn't convert it: I get an error message. I also

How to retrieve changesets associated with a build in TFS 2013 with Git?

爷,独闯天下 提交于 2019-12-04 04:08:18
问题 Once you have an IBuildDetail getting the associated changsets used to be accomplished with: buildDetail.Information.GetNodesByType("AssociatedChangeset") However, in TFS 2013 with Git that fails to return any changesets. It's possible I haven't configured TFS correctly, but this is an out of the box installation, not an upgrade, so I'm guessing with the new git support the API has changed. Any help (or links to useful documentation) would be greatly appreciated. 回答1: After a lot of fiddling

Check-ins to TFS2013 source control triggers CI build associated with separate TFS Git Repository

不羁岁月 提交于 2019-12-04 03:47:35
I have a TFS 2013 server with several TFS team project collections and developers working happily against them. The project collections have a set of TFS builds associated, including relevant CI builds which trigger on each check-in, or in some cases, rolling (accumulated) check-ins. This process works flawlessly and has been the way of working for several years. Recently, we've introduced a Git repository into the mix which also sits on our TFS 2013 server and appears as a node that I can connect to from my development environment when I connect to my TFS 2013 server. (i.e. it's not a local

Visual Studio Crashing When Checking In

て烟熏妆下的殇ゞ 提交于 2019-12-04 03:31:43
问题 My Visual Studio 2013 is crashing when I trying to check in my pending changes everytime. How can I solve it? Crash Log : System.UnauthorizedAccessException: Package 'SccProviderPackage' failed to load. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure) at Microsoft

How do we connect to TFS from all Git repositories in a Team Project?

ぃ、小莉子 提交于 2019-12-03 13:31:24
问题 I'm running the latest Visual Studio 2013 Ultimate at work with Update 1. We have the latest Team Foundation Server 2013 as well. Several of us are very excited about the new Git repository integration, but there appears to be a pretty big limitation. We want to add multiple Git repositories to a single Team Project and be able to access the Builds and the Work Items from Visual Studio 2013. It currently only works if your Git repository is named the same as the Team Project. This is also a

VSO: Single project with a tiered area structure?

女生的网名这么多〃 提交于 2019-12-03 13:05:47
问题 Historically we have always had separate VSO Projects for each logical project undergoing development. This is particularly important as we need to have separate backlogs for each project. Each project has its own Product Owner. We have a team of around 10 developers who work between these projects over 2 week sprints. This setup has led to some serious issues when using VSO's Scrum tools: Multiple burndown, cumulative flow and velocity charts Split team member capacity during sprints This

Where is the “Edit build definition” permission in our TFS 2013 installation?

て烟熏妆下的殇ゞ 提交于 2019-12-03 09:52:44
Our environment is a TFS 2013 server (12.0.21005.1 Tfs2013.RTM) which was upgraded from a fresh installation of TFS 2008, with a number of team projects and developers. One thing that our developers regularly need to do is create and edit build definitions. According to both Visual Studio and all documentation I've been able to find, there should be a "Edit build definition" privilege (perhaps along with a few others) which controls access to this. But as you can see in the screenshot, it doesn't exist in our installation: The only workaround I've found is to grant the people in question

TFS 2013 Throws Lib2GitSharp Error During Build/Deploy (Intermittent)

别说谁变了你拦得住时间么 提交于 2019-12-03 08:19:47
问题 For a while now, I have been having an issue with Team Foundation Server build/deploy process throwing the following error intermittently: Unhandled Exception: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at LibGit2Sharp.Core.NativeMethods.git_threads_init() at LibGit2Sharp.Core

Access TFS Team Query from Client Object API

旧巷老猫 提交于 2019-12-03 07:45:53
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 other words: I'd like to use the TFS UI to create a query, save the file in my "shared queries" list, call

VSO and multiple projects for a single product team

蹲街弑〆低调 提交于 2019-12-03 07:42:54
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 have to split individuals' capacity between two projects, which is not easy to do in Sprint Planning and