Team Foundation Server (commonly abbreviated to TFS) is a Microsoft product offering source control, data collection, reporting, and project tracking, and is intended for collaborative software development projects.

learn more… | top users | synonyms (1)

3
votes
8answers
7k views

Shelving code in Team Foundation Server (TFS)

I'm pretty new at using TFS and I'd like to know how you or your team use the "shelve" function of tfs. We have the following guidelines in using TFS: - perform a "Get Latest" before you check in and ...
9
votes
7answers
4k views

What is the preferred tool/approach to putting a SQL Server database under source control?

I've evaluated RedGate SQL Source Control tool (http://www.red-gate.com/products/sql-development/sql-source-control/), and I believe that Team Foundation Server 2010 offers a way to do this as well ...
13
votes
5answers
552 views

Odd company release cycle: Go Distributed Source Control?

Sorry about this long post, but I think it is worth it. I have just started with a small .NET shop that operates quite a bit differently to other places that I have worked. Unlike any of my previous ...
4
votes
3answers
5k views

How to map TFS to two local directories [closed]

I am working with a web application, using TFS. Every time I build the site it takes an unproductivly long time to start up again. I would like to have a second mapping of the site on my c drive, ...
3
votes
3answers
505 views

Should we check in Setup Project of Visual Studio

From what I understand, the ideal way to prepare builds using Visual Studio is to use a single build machine. That means, while the developers go through development process using their respective ...
3
votes
1answer
3k views

Strategy for maintaining assembly references in TFS

I have a 3 branch setup: Dev, QA, Prod. There is a references folder where we store common 3rd party and internal assemblies. Change mgmnt has been challenging. Sometimes Devs forget to go into ...
0
votes
3answers
2k views

Deployment Tools that Integrate with TFS? [closed]

So I have this issue. The Operations team where I work has taken over TFS because they are using MS Build to build and deploy code to production servers. As a result developers have lost A LOT of ...
10
votes
3answers
2k views

Source Control: Roles and Responsibilities - Best Practices

I'm looking for "Best Practices" concerning roles and responsibilities, specifically who is responsible for merges from development branches to trunk (or main). Basically I'm looking for ammunition to ...
7
votes
5answers
7k views

Choosing the right branching strategy for releases

Starting with a new dev team on a new project and we have to define our Branching strategy for our source repository (e.g. Microsoft Team Foundation Server 2010). We've run into a sticky discussion ...
3
votes
1answer
957 views

Why is local copy writable by default in SVN, but readonly in Perforce/TFS?

I have some experience with Perforce, SVN, and TFS. For SVN, The source files were by default writable after synchronization. However, they were readonly for Perforce, as well as TFS if memory served ...
2
votes
4answers
1k views

What's the best way to handle multiple simultaneous “streams” of development in version control?

My department is planning on working on our next several releases (spanning a year) simultaneously. The powers that be are advocating we support this by refactoring all affected code into classes ...
37
votes
15answers
5k views

How can I convince cowboy programmers to use source control?

UPDATE I work on a small team of devs, 4 guys. They have all used source control. Most of them can't stand source control and instead choose not to use it. I strongly believe source control is a ...
6
votes
1answer
754 views

Why would you create a deployment script in PowerShell when you have TFS?

I'm experimenting with automatic deployment / continuous integration and had a talk with my team lead. I told him I'm investigating creating build/deployment scripts in PowerShell and he said ...
12
votes
8answers
3k views

From TFS to Git

I'm a .NET developer and I've used TFS (team foundation server) as my source control software many times. Good features of TFS are: Good integration with Visual Studio (so I do almost everything ...
21
votes
10answers
3k views

How do you avoid working on the wrong branch?

Being careful is usually enough to prevent problems, but sometimes I need to double check the branch I'm working on (e.g. "hmm... I'm in the dev branch, right?") by checking the source control path of ...
9
votes
1answer
2k views

Using a TFS Build Process Template (Workflow) for Deployment

I'm thinking of using TFS Build workflows for complex deployments. We have some that may need to deploy: Web applications and services Database SSRS Reports SSIS Packages Who knows what else I ...
9
votes
7answers
538 views

Bogarting the Data Access Layer

Situation: The dba is an offsite contractor who keeps the entire DAL code checked out in TFS. It would be nice as the front end developer to be able to add columns, and tweak procs and whatnot, ...
6
votes
3answers
3k views

When should development branches be created?

We are moving our project's team from using a single Main/Trunk branch, to multiple Development/Work branches that should be regularly merged into Main. We're basing our new process on this article ...
1
vote
1answer
175 views

Work Item type for refactoring duplicate methods (i.e. turning them into 1)

Given that you have two identical methods (signatures, body, input/output) that you wanted to refactor into just one, what type of Work Item from the MS Agile template would be most appropriate? ...
1
vote
2answers
1k views

Work Item Traceability in TFS 2010

I have created a Windows Form project (VS solution) under a TFS 2010 project. I may eventually add more solutions to the TFS project. My question: Can we create a Use Case WIT for a specific solution ...
4
votes
3answers
281 views

Should deployment errors constitute a build failure?

Our software uses in-house written deployment software due to the complexity of the product. As part of our current QA (not dev) build process (using more in-house software) we compile the code, patch ...
4
votes
2answers
145 views

What is the best way to handle similar functionlaity in separate user stories / Product back Log Items?

I am using the TFS 2010 SCRUM template. So, let's say I have these user stories: As a user I want the ability to add contacts directly from the Partner page. As a user I want the ability to add ...
3
votes
2answers
1k views

How can I automatically undo checkouts on unmodified files? [closed]

From time to time, I realize that files that haven't been modified have been checked out by my Visual Studio. It's either because I changed something and undid it, or just because Visual Studio ...
9
votes
2answers
4k views

How can I keep my visualstudio database project in sync with my database?

I'd like to have my database schema synchronized with my Visual Studio .dbproj database project. Right now, I'm using SSMS for most of my database development work, and I've to manually use the ...
4
votes
3answers
3k views

Visual Studio 2010 - Local File History

I have been using netbeans for many years now and recently I have moved from PHP/Git/Netbeans to C#/TFS/VS10. It has been very good so far, yet I miss this one little feature I enjoyed so much in ...
0
votes
2answers
237 views

Team Foundation Server - Deployments

We currently have 5 developers working on quite large Silverlight application. We have 3 servers: Test User acceptance server Production Each person works on something completely different and ...
1
vote
1answer
206 views

Best practices for backing out a feature from a QA trunk

I have a question regarding source control in a general sense and specific to TFS. Let's say you have a three-tier system (Development branches, QA main trunk and Production branch). At a certain ...
3
votes
5answers
2k views

TFS - web sites based under IIS - how to handle branching

I'm just looking for some advice/best practice for this situation: We have a solution with a couple of web sites in it (one is a web site project, the other is a web application project). We have ...
1
vote
3answers
718 views

The need for source control software - Team Foundation Server? or something different?

Recently, Here at the company, more than one programmer was appointed in charge for a LightSwitch(C#) software development project and immediately there was a need of some sort of source ...
10
votes
3answers
1k views

Branching model suggestion for same project multiple clients

We have a very big project that includes several applications that acts as the base for different clients. Every client has its own personalization of the product, different milestones, different ...
1
vote
2answers
116 views

What is the proper way to handle this workflow in TFS

A client of mine is using TFS and asks people to operate in this manner: The developer in India writes the first draft of code The code is published to a workspace (eg 10.1.1.1\TFSName ...
4
votes
6answers
8k views

What advantages does TFS have over Tortoise SVN in this scenario?

This is neither a Holy War invocation nor is it http://stackoverflow.com/questions/661389/tfs-vs-svn - This question is much more specific and would potentially make a team of developers very happy: ...
2
votes
3answers
298 views

Resources for using TFS for Agile Project Development? [closed]

Our company just installed TFS for us to start using for project development processes and source control. They want us to start using it to manage our projects as well. We have a small team, no ...
4
votes
2answers
1k views

How to use external file comparer in MS TFS

I don't like ms diff that integrated into Visual Studio 2008 TFS Edition. Is it possible to change this file comparer to external one (Beyond Compare, for example)?
45
votes
22answers
10k views

What are some good practices before checking in source code?

My team uses Team Foundation Server for source control, and today I fixed some bugs and smoke test application before I checked it in but I forgot to comment some code. (This code made the UI a little ...
8
votes
9answers
9k views

Do you check in bin or debug folders (and dlls) into your TFS?

Quick question about TFS - Do you guys check-in bin/debug folders into TFS? (if so, why?) Since the content of those folders are dynamically generated is it better to leave them out so that the ...
40
votes
11answers
2k views

Should a developer always use version control [duplicate]

Possible Duplicate: Version control for independent developers? I've heard statements to the effect of: "Well it's just me working on this project so I don't need to put it under source ...
7
votes
3answers
677 views

mercurial or tfs for codeplex?

I've been working on a .NET personal project for a little while now and it's almost ready to go open source. I've decided (arbitrarily) to host it on codeplex. Codeplex offers TFS or mercurial. I'm ...
4
votes
2answers
3k views

How do you structure your branches in TFS

I'm not sure if i should ask this question here, or on SO ... i'll cross post it to SO if this is the wrong place. My group at work has been trying to come up with a good process that we can use with ...