tfs

Tools to compare changes in TFS 2005 Branches

Are there any Tools to compare the differences between branches in TFS 2005?. OR How do I see Tree Difference Tab in TFS? ...

Team Foundation Server 2008 Build Server Code Analysis

I'm having trouble getting Code Analysis to run on the build server. My goal is that on checkin the build server will build and run code analysis automatically. For some rules I would like the build to fail. I know how to use the team explorer to set which rules cause a fail. I don't want the developer to have to run code analysis to...

How do I configure TFS to work with various merge tools

Originally the question was "How do I configure WinMerge as the compare and merge tool for TFS". However, I am changing it because TehOne answered this more general form of the question. I would have though this would have been asked already on Stackoverflow. I found the answer elsewhere, but I am asking/answering here. It's now a commu...

TFS - Find all change sets connected to a task

We are using TFS 2008 / Visual Studio 2008 We are trying to merge all code related to a task. I understand from other questions here that you can only merge change sets not tasks. Question then is how do I find all changesets connected to a task? ...

How to Debug "Value cannot be null. Parameter name: key " for TFS 2005

I am unable to checkin changes to our TFS 2005 and get the following error while I check in . Value cannot be null. Parameter name: key How do I debug, I checked the eventviewer and but no related errors. Any Ideas on Debugging the error. Am I missing any Files etc.... ...

TFS 2008 : How to make Source Control Explorer show "ADD" operations for other users?

In the visual studio Source Control Explorer window, I can see my own "add" operations, but do not see the "add" operations for other users. I can see all other operations (rename, edit, etc), but cannot see any add's. Anyone know how to turn this on, or how to view add's otherwise? ...

Database change management and build process using TFS

Anybody using Team Foundation Server for managing their databases? We are currently using subversion. Team is complaining that it is hard to create a build process in TFS and is shying away from it. Any good pointers, articles, experiences? ...

How to prevent Team Foundation undoing locks

I've been working with Team Foundation for a short while now, and I'm finding one behaviour particularly annoying. Say I have several Team Projects: $/ Project1 Project2 Now, for reasons we don't really need to get into, I'm wanting to keep $/Project2 locked, to prevent anyone else doing anything to it. Normally, whenever you do a...

Does TFS log undo checkouts?

Let's say someone checkedout some files and then he/she undo the checkout. Can I find those undo checkout tracks in TFS history? Where? ...

TFS merge change set to main branch

If a file has been changed by 10 different changesets, with different users for various changesets. Then the user that checked in changeset 5, decides to merge his changes. What will then happen to the changes in changeset 1 to 4? Will they automatically be merged? ...

Can TFS or Visual Studio remind me about issues that have to be solved before a check in

I'm actually working on a tool that need some configuration before it can be used. To save some time a hard coded some values into the text boxes of the configuration tab, so I don't have to renter them every time I do some testing or debugging. As we're using TFS to manage our solutions I'm wondering if there is a way to mark those ha...

How can I use TFS for iPhone development?

I was struggling with how to use TFS as a source code repository for iPhone development. My boss will never let me use Subversion (or God forbid Perforce), so I was stuck with TFS source control. The solution is to go and buy tools to bridge Mac to TFS, and I am not trying to advertise here, but the Teamprise Client Suite for Mac OS X ...

Is there a way where I can view which files were replaced when I do a Get Latest in TFS?

When I do a get latest with TFS, is there a setting or something that will show a display window showing all of the new files that are being replaced when I do a get latest? ...

TFS: no longer auto-checking out files I change from within VS2008?

Has this happened to anyone? Nothing has changed on my system, yet TFS no longer will auto-checkout files for me when I edit them. If it has, what did you do to fix it? Under Tools -> Options -> Source Control -> Environment, both Saving and Editing are set to "Check out automatically", so I'm pretty confused at this point. ...

How to retrieve associated file being checked in from a changeset?

I want to trigger a build only when a particular file is checked in. So i need a way of accessing the associated filename from a changeset from the tfs build script, so i can check for the condition before triggering the build. Would commands involving tf.exe like tf properties,tf get help? I know its not possible to extract the output...

TFS2008 & VS2008 : File deleted from Solution Explorer still appears in Source Control Explorer

I'm seeing some weird behavior from VS2008 integrate with TFS 2008. When I delete a file from a solution from within the Solution Explorer and check it in, the file still appears in the Source Control Explorer. In the Source Control Explorer the file appears having the value 'delete' under the Pending Change column. It also appears in t...

get a multi-version diff report from TFS?

I used to use a different source control tool and it allowed me to get a "diff report": all the changes made to a file between version X and version Y (including lines added/removed between each version, which could be many versions) in one text file. It was pretty handy for situations where you are pretty sure that some code used to be ...

tf diff: why doesn't the command line diff recognize a valid version of a file sometimes?

I'm using the TFS Power Toys with PowerShell to get the history of a file. Like so: $fileName = "$/MyDir/MyFile.cs" $results = @(Get-TfsItemHistory $fileName ) I get a nice result set that has many ChangesetId's. However, when I run tf diff (tf diff /version:C36826~C36680 "$/MyDir/MyFile.cs" /format:unified) for some of the Ch...

TFS Command Line: How to unmap entire workspace?

Here is my problem. I have a build script which adds mappings to a certain workspace dynamically, then unmaps them when it is through. I am worried that if (when) my script fails before the unmapping is done, the mappings will holdover until the next time and screw things up. So I would like to unmap the entire workspace at the start of...

How do you put an large existing database (schema) under source control?

My DBA just lost some development work that he did on our development database. Poor fella. So naturally our manager asked him, at our status meeting, how this could happen and how we could avoid this happening in the future. "Source control could alleviate the problem" I suggested... The dba's response; "No, we just backup the server mo...