Questions tagged [team-foundation-server]

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.

Filter by
Sorted by
Tagged with
62
votes
15answers
17k 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 ...
53
votes
7answers
3k views

Is there something wrong with how we're doing version control?

I work with a team of programmers as the business analyst. We just released version 2.0 of our product and are working on the next version to be released in 3 months (it's an internal software ...
47
votes
22answers
20k views

What are some good practices before checking in source code? [closed]

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 ...
41
votes
11answers
4k 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 control" ...
27
votes
10answers
7k 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 ...
22
votes
4answers
31k views

Explaining the difference between Product Backlog Item and a Task

I've run into this challenge a couple of times and I'm hoping someone can provide some references, training or advice on how to explain the difference between a Product Backlog Item and a Task in TFS. ...
18
votes
4answers
42k views

Use TFS to track bugs from Production Support

I have just moved to a new company and they are using TFS 2010 (2012 in a couple of months) as their version control system and recently started to use it as a work tracking system for the developers. ...
17
votes
3answers
4k views

Introducing a version control branching policy to a small team

I'm a contractor that has recently started with a firm. Team is 3 developers consisting of 2 junior to mid level devs, with another at the same level starting soon, and myself (6 Years xp). For both ...
15
votes
5answers
12k views

What's the most effective way to share code between .NET applications?

In our work, we have several different .net applications that share a lot of base functionality. We've built these applications using a clean n-tier architecture, but we've hit that moment where we ...
14
votes
7answers
5k 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 ...
14
votes
3answers
22k 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, ...
13
votes
5answers
680 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 ...
12
votes
1answer
4k views

Should we use Reject or Wait For Author in TFS when there are things to be fixed?

In TFS, when we put comments for things to be fixed in a Pull Request before we will accept it, should we mark it as Reject or Wait For Author? Which is better?
12
votes
1answer
8k views

Best way: restructure an existing Team Foundation Server (TFS) solution

In my department we are developing several smaller AddOns for some unified communication server. For versioning and distributed development we use a Team Foundation Server 2012. But: there is only ...
11
votes
9answers
25k 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 ...
11
votes
6answers
17k 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 ...
11
votes
3answers
3k 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 ...
11
votes
5answers
5k 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 ...
11
votes
2answers
8k 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 ...
10
votes
4answers
12k views

How to evaluate moving to Team Foundation Server

My development team presently uses the following software in our workflow: JIRA Bamboo (Atlassian continuous integration) Greenhopper (Atlassian agile project management) Confluence Git, hosted on ...
10
votes
3answers
4k 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 ...
10
votes
1answer
3k 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 like ...
9
votes
3answers
975 views

In agile, how are basic infrastructure tasks at the start of a project planned and allocated using strict management frameworks like TFS online?

Here I am in the process of scoping and estimating a relatively small new software development project. I have been through the user stories suggested by the customer and placed tasks against each, ...
9
votes
7answers
559 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, ...
9
votes
2answers
9k views

Git alternative to a shelveset in TFS

I use git for my personal projects, so I have never run into any issues with Git, however I had a discussion at work today and its something that I haven't thought about. In TFS you can store your ...
9
votes
1answer
9k views

How to have TFS automatically add certain tasks to new work items?

We use TFS at my workplace to manage our source code and track development. Whenever we have a bug or work to do, we always have to do the following two tasks as a minimum: Test the work, or decide ...
9
votes
1answer
2k 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 ...
9
votes
1answer
2k views

Combining GitHub and TFS / Visual Studio Team Services

I wonder if it's possible to combine Visual Studio Team Services and/or TFS with a GitHub repository. We think both products have their own advantages and would like to work on one repo within our ...
7
votes
3answers
739 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 ...
7
votes
3answers
6k views

version control security

We are looking for a version control tool. I personally think it's pretty cool to use Git. However, my boss recommends TFS. He told me it's much more secure to use an SQL Sever based tool, such as TFS ...
7
votes
2answers
926 views

Release strategy for multiple Git feature branches being tested simultaneously

We have three environments: Dev, UAT and Prod. We use TFS to schedule releases of our master branch into Dev for our internal verification, then UAT for business verification, and of course finally to ...
7
votes
3answers
9k views

How do you structure your branches in TFS

My group at work has been trying to come up with a good process that we can use with TFS. I'm just wondering if some of you guys had some successful strategies with using TFS across multiple sites ...
7
votes
3answers
2k views

How do I structure code and builds for continuous delivery of multiple applications in a small team?

Background: 3-5 developers supporting (and building new) internal applications for a non-software company. We use TFS although I don't think that matters much for my question. I want to be able to ...
6
votes
8answers
15k 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 ...
6
votes
2answers
414 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 ...
6
votes
3answers
576 views

Managing 'done' but not releasable code in TFS

I am working in an organisation with 11 scrum teams developing on the same code base. Currently, all development is done in trunk, and at the end of a sprint everything MUST be releasable, or it must ...
6
votes
3answers
4k views

Team switching from TFS Source Control to TFS with Git, not sure how to handle complex project structure

I've used git for my personal projects for years, but that's always working alone, not needing to branch much, etc. Our development team at work has decided we are definitely switching to git, and as ...
6
votes
1answer
2k views

How can I organize my TFS structure such that a one-off project that pulls files from another project can be easily managed?

I have my main project set up very simply in TFS. I've recently begun making a few of my project components generic enough that I can sell them to other organizations using the software for which I ...
5
votes
7answers
4k views

Does continuous integration involve automatic merging between branches?

When setting up a continous integration environment, does it always entail having the build server pull code and merge between branches? Or is it something you NEVER want to do because you are ...
5
votes
4answers
4k 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 ...
5
votes
5answers
4k 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 ...
5
votes
1answer
3k views

How to use external file comparer in MS TFS [closed]

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)?
5
votes
2answers
2k views

Source control system for binary files [closed]

At work we have a legacy system written in Visual FoxPRO. Everything in foxpro is a table, even forms, so basically if you open a form file with a text editor you don't learn much. Does anyone know ...
5
votes
1answer
771 views

Should XmlDocument.xml be Included in Source Control

In a Web API 2 project, in the project properties, I have enabled the output of an XML documentation file. By default, Visual Studio 2013 wants to check this into TFS. I'm pretty sure that I'm going ...
5
votes
3answers
563 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 ...
5
votes
1answer
474 views

Managing release configurations when using TFS Build

The organisation I work for currently uses web deploy to release to different environments. Configuration of web applications (connection strings, service url's, and so on) is managed using solution ...
5
votes
0answers
351 views

Putting together a business case for moving to git from TFS? [closed]

I'm probably going to be giving a presentation to my company (mainly management, but also senior developers) on the benefits of moving to Git from a centralized TFS setup. I know that I massively ...
4
votes
1answer
2k 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 ...
4
votes
3answers
5k 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 ...
4
votes
2answers
546 views

Capacity Planning for a solo developer - Activities?

I'm having trouble seeing the benefit of setting the Activity field on Tasks for use in Capacity Planning (I'm using the Scrum Template). In fact, doing so seems to make things more cumbersome. Why ...