tfs2008

Is it possible to change the merge engine in TFS 2008?

Where I'm working now we use TFS2008, and people are generally unhappy with the auto-merging capabilities. I was wondering, is it possible to change the merge engine? I know you can change the merge tool used by VS, but I'm not clear if this gets used when you do a local automatic merge, or what the deal is for merging branches. (Befo...

Reference an assembly from Team Foundation Server

I have a class library project in TFS version control. I want another project reference the output dll. Is there an easier way other then checking out the project and referencing the local copy? The class library will be updated pretty often. Using Vs.net and TFS 2008. ...

Unexplained results with VS2008 "Get everything..." option

We've only recently begun using TFS (2008) with Visual Studio (2008). A couple of developers discovered the "Get everything when a solution or project is opened" option in VS and decided it was a good idea--and it would seem to be. However, we've been getting some curious results when opening some solutions. The solutions in question co...

What should I use for syncing TFS 2008 Work Items with an external database?

What should I use for syncing TFS 2008 Work Items with an external database? I just want basic functionality such as creating and updating work items in TFS so that they match our QA department's bug tracking software. ...

TFS Build Script Tracing

When debugging a build script, is it possible to get TFS to use a build script that is currently checked out? For example, I currently have a build script that I'm trying to debug, but in order to add a line of trace, I need to book out the TFSBuild.proj, change it, and then book it back in. ...

How to fail TFS build based on FXCop warning

We are currently using TFS 2008 for source control and continuous integration. We use FXCop to check for checking performance and security warnings. The Architect or senior developer runs FX Cop at the end of a sprint or before a delivery. We would like this to run as part of the CI and fail the build if there is a warning, what is the...

Team Foundation Server : how to get multiple item using wildcards

We are using Team Foundation (2008) as our source control. I'm wondering if there is any way to recursively get multiple files using wildcards? For instance : *.txt *.rc *.h *.cs etc. Thanks a lot, Nic ...

referencing a source controlled project (using TFS) in another source controlled project.

i have three VS solutions : Human-resource Solution Payroll Solution And a Main web site (Shell); Human-resource is a solution which is also a team project. Payroll is the same, and so do the Main web Site(Shell). what i need is to reference the (Shell) in Human-resource solution and also in Payroll. is that possible in TFS...

How do I get code-churn statistics by user?

Microsoft Line of Code Counter is a tool for statistics code line in TFS, can count code changes between different version, different date, BUT can't count code for different users? Is there possible to count code by user(who checked in code) and version? ...

Code Review tools that integrates with Visual Studio 2008 and/or TFS 2008?

I'd like to know what kind of options we have regarding tools for performing code reviews. We're a group of 15 people that uses Visual Studio 2008, writing code in C# 3.0 for .NET 3.5 (at least for the time being), and using TFS 2008 for source control. I've looked at TeamReview on CodePlex, but it seems the only way I can create revie...

Get the template my TFS Project Uses

Is there a way I can download and view the XML used to control my TFS Project? NOTE: I do not mean the standard template in TFS, but what is actually on the project (they don't match on my Server). I want to see how some of the custom fields were put together. ...

How are shelvesets stored in the TfsVersionControl database?

I need to get access to a shelveset that TFS and TF Sidekicks can't access and I'm trying to figure out how the data is stored in the database so I can change the shelveset owner. ...

What is the fastest method of retrieving TFS team projects using the TFS SDK API?

I have some answers! Feel free to contribute your own findings. As far as I know, there are 3 main ways to retrieve a simple list of Team Projects from TFS: Using the new Catalog service (TFS 2010) Using the VersionControlServer (TFS 2008/2010) Using the ICommonStructureService (TFS 2008/2010) The simple tests I conducted compared t...

Creating a private folder in TFS 2008 Source Control System

I have a TFS2008 installation with a single TFS project that we use for all of our source code. Within this (super)project, we have a whole tree of sub projects. Our projects Contributors group has the default (read, write, checkin,, checkout etc.) access to this whole tree. We have a folder within this structure that we want to restr...

Synchronize local TFS workspace with server

I've retrieved files with TFS 2008 and then deleted them manually using explorer. The files still appears to be available locally in TeamExplorer. You know files only on the server are shown in gray text and files in the workspace are shown in black. Is there a way to update the workspace, so TeamExplorer correctly will show which fil...

How to auto checkout and checkin file in TFS

Hi, I want to change the content of a file every time build is done. And we have automated build process, so manually we cant checkout the file, do modifications in file and check-in. So can anyone please help me in how to automatically checkout the file, do changes in file and then checkin back the file. Thanks ...

suggested values

I had added some suggested values to a field in a Work item, But now when i try to update the value, changes are not reflected. If I delete the suggested values , then as expected it is not suggesting anything.But when I reenter the same values again. It is going back to old value and changes are not reflected. Basically , I added a...

Importing the code changes while comparing the code from source control

Hello , Can I import the changes b/w the local version and the checkin version of the code.I am using TFS 2010.The reason I am asking this question is that ,I want send my code to an external reviewer who will not have access to TFS source control . My current thinking is that if can I some import the changes then reviewer can review ...

Unable to update field datatype

I had to create a work item template.In order to do it quickly.I created all the fields by opening the template in notepad and copy pasting them with differnent name but same datatype. Then I import the template. Now I am trying to change the datatype form Open Wit from Server option , it is throwing me errors that datatype do not matc...

Copying all the checkout files

Hello, I am using Team foundation system and I have requirement in which I want to copy all the checkout files to a local folder along with the same folder structure using C#. How can I do that? Huzaifa ...