tfs2008

Git-Tfs: A TFS changeset per Git Commit?

◇◆丶佛笑我妖孽 提交于 2019-11-30 10:04:50
At work we use TFS, and I'm trying to get the Git-TFS tool to work so that I have more flexibility when working with local commits before pushing them to our TFS repo. I have this working, but when I do a git tfs ct , it checks all my commits into one TFS changeset. Am I missing something, or is this how it's supposed to work? If it doesn't push each of my commits individually to TFS as separate changesets, then it seems to defeat the purpose of using git-tfs in the first place. I use the rcheckin command which commits your new git changesets to tfs one at a time, rebasing the remaining

TFS API - is there a way to get a list of the transitions for a workitem type?

Deadly 提交于 2019-11-30 03:30:58
问题 I am trying to get from State "A" to State "X". There are transitions in place that prevent me from just going to X. I can export the WorkItemType as XML and work on that, but before I do that, I thought I would ask if there is a way to get at the Transitions via the API. 回答1: Soooo..... Not many people need the transitions for WorkItemTypes. Well, I needed it so I wrote a method to do it. Here it is in case someone else ever needs this: // Hold a list of all the transistions we have done.

Automatically get latest version when you open solution/project

房东的猫 提交于 2019-11-30 00:28:15
问题 Is there a way to force to Get Latest Version when you open a solution, project or website? Using VS.NET 2008 & 2010 on TFS 2008. 回答1: There's an option in VS 2010 (and 2013) that may be what you're looking for: Tools > Options > Source Control > Environment Select "Get everything when a solution or project is opened" 来源: https://stackoverflow.com/questions/4722366/automatically-get-latest-version-when-you-open-solution-project

How to rollback in Visual Studio TFS?

此生再无相见时 提交于 2019-11-29 22:05:21
I'm working on one sub-module of a large project for which is use VSTS 2008. I have a need to rollback the module to an earlier version (about 4 check-ins previous). I tried to do this in the Visual Studio UI, and finally realized there is no option to rollback. After some research, I determined there is a power tools download that purports to support rollback via a command-line tool. However, there appears to be virtually no documentation for it. Can anyone describe step by step how to rollback to a previous version in VS2008? (Using Power Tools or otherwise). Bonus question--anyone know if

Running VS2010 UnitTests project from TFS2008 Team Build

十年热恋 提交于 2019-11-29 05:17:43
I have a Visual Studio 2010 MVC 3 application with unit tests projects in it. I have a TFS 2008 build definition to build the solution. On the build agent i have got following installed VS2008 team system developer edition VS2010 Professional installed I have updated the msbuildpath in the tfsservice.exe.config to .NET 4 farmework Deleted all the workspaces Have followed all the steps at http://blog.aggregatedintelligence.com/2011/03/vs2010-tfs-2008-and-unit-tests.html But when i run the build I get the following error:- Using "TestToolsTask" task from assembly "c:\Program Files\Microsoft

Branch from local workspace

我是研究僧i 提交于 2019-11-28 18:44:23
问题 I was developing team project and suddenly realised that i've made so many changes, that i need create branch. I've never used branching in TFS and when i saw "Branch\ "From Workspace version" i thought that's, what i need. But this option doesn't act as i supposed. How can i create new branch, from my "LOCAL COPY of Project" and include all local changes"? The option that I mentioned above creates something like branch from...i don't know exacly from what, but i know for sure, that not from

How to rollback in Visual Studio TFS?

我只是一个虾纸丫 提交于 2019-11-28 18:19:13
问题 I'm working on one sub-module of a large project for which is use VSTS 2008. I have a need to rollback the module to an earlier version (about 4 check-ins previous). I tried to do this in the Visual Studio UI, and finally realized there is no option to rollback. After some research, I determined there is a power tools download that purports to support rollback via a command-line tool. However, there appears to be virtually no documentation for it. Can anyone describe step by step how to

How to undo another user’s checkout in TFS?

帅比萌擦擦* 提交于 2019-11-28 15:19:05
As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file checked into source control. How do you undo another user's checkout? brett rogers There are at least 2 different ways to do this: Command Line There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation here . It can be accessed by launching a Visual Studio Command Prompt window. The syntax of the command is: tf undo [/workspace:workspacename[;workspaceowner]] [/server:servername] [/recursive] itemspec [/noprompt] For one file tf undo

Can I unshelve to a different branch in tfs 2008?

空扰寡人 提交于 2019-11-28 15:08:45
Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt) Curt Hagenlocher The Visual Studio Power Tools should let you do this. C:\src\2\Merlin\Main>tfpt unshelve /? tfpt unshelve - Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pending changes. Merges content between local and shelved changes. Allows migration of shelved changes from one branch into another by rewriting server paths. Usage: tfpt unshelve

Migrate Project to TFS2018

僤鯓⒐⒋嵵緔 提交于 2019-11-28 11:09:58
问题 I have two TFS servers - one running 2008 and the other running 2018. I need to move one project (not all) from the TFS 2008 server to the new one. I only need to migrate the source code but would like also maintain all version and checkin history. Is there an upgrade process or utility that can achieve this? Thanks 回答1: If you want to maintain all version and check-in history. The only way is upgrading TFS server 2008 with database. Direct upgrade to Team Foundation Server 2018 Update 2 is