tfs2013

How to get all Iteration Paths with a TFS API 2013

社会主义新天地 提交于 2019-12-02 00:50:36
I have been using the TFS API libraries for some time and have been using the follwoing code when interfacing with TFS 2010 to get the Iteration Paths (code from this page )... public IList<string> GetIterationPaths(Project project) { List<string> iterations = new List<string>(); foreach (Node node in project.IterationRootNodes) AddChildren(string.Empty, node, iterations); return iterations; } private void AddChildren(string prefix, Node node, List<string> items) { items.Add(node.Path); foreach (Node item in node.ChildNodes) AddChildren(prefix + node.Name + "/", item, items); } When I was

Revoking TFS Merge Credits

孤人 提交于 2019-12-02 00:28:18
I understand that when performing a merge from BRANCHA > BRANCHB and selecting “Keep Target” on some files will result in “Merge Credits” being granted to those files in TFS history: Merging Developement Branch to Main: There were no changes to merge Is there a way for us to revoke/wipe the Merge Credits on given files, effectively enabling our developers to perform a /force merge via Source Control Explorer? Context: On a weekly basis, we merge from BRANCHA > BRANCHB to synchronize parallel efforts. Any files with unresolved conflicts are noted and their owners are notified to perform a merge

Migrating source code from TFS to VSTS

荒凉一梦 提交于 2019-12-01 22:45:06
I am trying to migrate Source code from TFS to VSTS. I tried git-tf command to migrate and was able to migrate successfully but i am not able to migrate the history. Can someone guide me on what i am doing wrong. Please note i am not migrating to GITVC but migrating to TFVC in Visual studio from On premise TFS server. Steps are ... git-tf clone http://onprimisetfsurl/ $/project project git-tf clone http://Visualstudiotfvcurl/ $project project1 git pull project1 into project git-tf checkin --deep Look at OpsHub https://visualstudiogallery.msdn.microsoft.com/28a90a17-d00c-4660-b7ae-42d58315ccf2

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

牧云@^-^@ 提交于 2019-12-01 21:06:46
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. After a lot of fiddling around I finally found the solution. Changeset's have been renamed to Commit's for TFS 2013's git support.

Visual Studio Crashing When Checking In

别说谁变了你拦得住时间么 提交于 2019-12-01 17:45:06
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.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsurePackageLoaded(IServiceProvider

TFS 2013 : Multiple build controller on the same machine

不打扰是莪最后的温柔 提交于 2019-12-01 16:41:21
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 about this. This is still an unsupported feature. This feature would be loudly trompetted should it

The “SignFile” task was not given a value for the required parameter “CertificateThumbprint”

别等时光非礼了梦想. 提交于 2019-12-01 16:37:12
We have a line of business app which is deployed via clickonce. I can build and publish the application without any problems but when I try to use Continuous Integration (Build each check-in) I get the following error: 2>C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(3450,5): error MSB4044: The "SignFile" task was not given a value for the required parameter "CertificateThumbprint". [C:\Builds\1\Pulse\DefaultBuild\src\Pulse\Pulse\Pulse.csproj] Done executing task "SignFile" -- FAILED. We sign the application (to be more specific: the ClickOnce manifest)

The “SignFile” task was not given a value for the required parameter “CertificateThumbprint”

我的梦境 提交于 2019-12-01 14:33:59
问题 We have a line of business app which is deployed via clickonce. I can build and publish the application without any problems but when I try to use Continuous Integration (Build each check-in) I get the following error: 2>C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(3450,5): error MSB4044: The "SignFile" task was not given a value for the required parameter "CertificateThumbprint". [C:\Builds\1\Pulse\DefaultBuild\src\Pulse\Pulse\Pulse.csproj] Done

Which version of VS should I install to allow unit testing on the build server?

无人久伴 提交于 2019-12-01 07:36:40
Since a few weeks we have our first TFS (2013) setup. The setup is rather small and there are only a handful (read: 10) developers that will have to work with it for the time being. It was setup as a "test" to see if it fits within our organisation. Now, we'd also like to test the build server functionality. We've configured the build server and enabled a single agent. The MSDN then states that "You must install on the build agent the version of Visual Studio that your team uses on its dev machines." ( http://msdn.microsoft.com/en-us/library/bb399135.aspx ). This sounds pretty straight forward

Show Test result Form test suites using TFS api

醉酒当歌 提交于 2019-12-01 06:23:33
I am working with a school project where I am going to analyse a companies defect database. They are using Microsoft Foundation Server (TFS). I am all new to TFS and the TFS api. I have some problem in getting the right data from TFS using the TFS Client Object Model . I can retrieve all Test Plans, their respective test suites and every test case that a specific test suite uses, but the problem comes when I want to see in which test suite I have a specific test result from a test case. Since more than one the suite can use the same test cases, I cant see in which suite the result came from. I