tfs2010

Newly created TFS 2010 iteration not visible

倖福魔咒の 提交于 2019-12-01 14:42:46
问题 I've created a new iteration in TFS 2010 and wan't to use it in a new story and query. However, the iteration won't show up in the new story window, refreshing VS, restarting VS, switching to other project, nothing helps. I'm a project administrator in the team project, and created the iteration with the same user that i'm trying to use it with. Permissions are not changed from default. Tested on other workstation with other user with sufficient permissions also doesn't help. Could I be doing

Does TFS branching have a child parent relation?

瘦欲@ 提交于 2019-12-01 13:03:01
When doing branches in tfs, does it matter if you are branching A to B or from B to A? The thing is that we have branch A and branch B, and now branch A has got messed up and we would like to recreate it from branch B by branching a new branch from B. As far as I know when you do a branch you get a relationship between the branches, but you don't get a "parent-child" relation, is that correct? Is my question clear? pantelif At the point where a new branch is constructed, it gets equal to what you chosen to branch out from. The tricky point about TFS-merging (as opposed, for example to the P4

Unable to shelve changes in VS2012 for TFS2010

心已入冬 提交于 2019-12-01 12:14:25
We are using TFS2010 (for source control only), and until recently everyone was using VS2010. Our developers just installed VS2012. Pulling down code works fine in Visual Studio. When you go to "Pending Changes" in Team Explorer, we are seeing TF201072: A user or group could not be found. Verify that the users and groups used in your work item type definition have been added to Team Foundation Server. , twice, at the top. We can still check-in code from VS - seems this error is ignored. However, we are unable to shelve changes - when you attempt to shelve, the same error comes up in a popup,

How to delete test cases from Team Foundation Server

不问归期 提交于 2019-12-01 11:55:05
How do you go about deleting test cases from Team Foundation Server? I have taken the following stesp: First I installed Team Foundation Server Power Tools from this website . Second I entered the following into the VS command window: witadmin destroywi /collection: server name /id: test case id I received the following error message from the VS command prompt: Command "witadmin" is not valid. I even tried to run this command from the windows command prompt as a normal user and also selecting "Run as administrator", however in each case I get the same error message stating "Command "witadmin"

TFS client C# API - get all changesets of an Item

馋奶兔 提交于 2019-12-01 11:30:54
问题 Microsoft TFS client for VS 2010: http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.item(v=vs.100).aspx I (i.e., my code) have a Changeset. I iterate to a particular Change. I have an Item in the Change. Now, I wish to get all Changesets that had Changes for that item. Could someone advise me the best way to do that? I could iterate thro all the Changesets of the branch concerned, which would be very inefficient. 回答1: Edward is correct. And he has the

Cause TFS InvokeProcess Build Activity to run under other credentials

不羁岁月 提交于 2019-12-01 11:28:49
We have customized the build process with a InvokeProcess action that runs a powershell script that deploys our sln. Problem is that this script must be run under a given user (not the tfsbuild user). How can we achive this? Alternative 1: Make the InvokeProcess run as a different user - Alternative 2: Make the powershell script itself run as different user Problem is that I have no idea of how to do any of this. I have created a blog post on this how you can achieve this: Customize Team Build 2010 – Part 9: Impersonate activities (run under other credentials) A pure PowerShell option,

How do I avoid having to merge every file in our repository after a baseless merge?

不羁的心 提交于 2019-12-01 10:54:38
We're having a bit of trouble following a TFS Baseless Merge. Here's a quick summary of the branches we have at the moment. Main | ----------- | | BranchA BranchB | | BranchA1 BranchB1 We performed a baseless merge using "All changes up to a specific version" from BranchA1 to BranchB1 . When this was checked in every file in our source tree had a "merge" status. This makes sense, and is explained in the ALM Rangers branching guide as follows: If a baseless merge is performed with “All changes up to a specific version” selected, when checking in a baseless merge every file will have a merge

Unable to shelve changes in VS2012 for TFS2010

廉价感情. 提交于 2019-12-01 10:46:19
问题 We are using TFS2010 (for source control only), and until recently everyone was using VS2010. Our developers just installed VS2012. Pulling down code works fine in Visual Studio. When you go to "Pending Changes" in Team Explorer, we are seeing TF201072: A user or group could not be found. Verify that the users and groups used in your work item type definition have been added to Team Foundation Server. , twice, at the top. We can still check-in code from VS - seems this error is ignored.

How to delete test cases from Team Foundation Server

女生的网名这么多〃 提交于 2019-12-01 09:46:59
问题 How do you go about deleting test cases from Team Foundation Server? I have taken the following stesp: First I installed Team Foundation Server Power Tools from this website. Second I entered the following into the VS command window: witadmin destroywi /collection: server name /id: test case id I received the following error message from the VS command prompt: Command "witadmin" is not valid. I even tried to run this command from the windows command prompt as a normal user and also selecting

How can I add an attachment via the SDK to a work item without using a physical file?

主宰稳场 提交于 2019-12-01 09:06:25
I'm trying to create a new work item for TFS 2010 via the client SDK. In the SDK you can do something like this: WorkItem item = ...; item.Attachments.Add(new Attachment("c:\\path\\on\\tfs\\server\\shot.png", "Screen shot")); item.Save(); But this requires the file being attached to be placed on either a network accessible path, or on a disk in the TFS server itself. In our case the file being attached is just an in-memory blob, and having to save attachments to a physical path seems unnecessary and definitely complicates the deployment steps required by our customers, as we need to put them