tfs2010

How to find User Stories with open bugs?

Actually I would like to have a query that finds all User Stories, whose all tasks and bugs are closed. The problem is that bugs are not connected directly to the user story but only to the test case, and the test case is connected to the user story. Another problem is that test cases link to user stories and are not children of them. W...

Branching in TFS 2010 and being forced to re-download the code

When i create a branch from the mainline in TFS 2010 i have to download all of the code i have just branched. I already have the latest mainline version on my laptop so why is TFS requiring me to effectively download whats already on my hard disk? Even if i copy the mainline files into a folder and map the new branch to this folder i...

Tfs 2010: Why is my build account explicitly denied all permissions?

I'm setting up a new deployment of tfs 2010. I've got a couple stub projects to be built sitting inside a solution, and I'm attempting to configure a continuous integration build on it. So, I configured a build with all the defaults, and kicked it off. I got this error: TF215097: An error occurred while initializing a build for build de...

How do I share the TFS Sharepoint portal on the internet?

I have a 2010 TFS server on Windows 2003. I'd like to make the sharpoint portal available by a url that is other than the default machine name. It seems that any time I access the /tfs/web subdirectory with anything other than the default name then the TFS sharepoint objects don't load. They only load when I access the server by the N...

WiX: Mysterious and hard-to-diagnose ICE validation errors on build server build

I'm trying to integrate WiX into my automated build solution using Tfs2010 running on Server 2008 R2. Everything seemed very easy, and then I get this: light.exe: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Er...

TFS 2010 - command line for convert to branch

TFS exposes a commmand line utility which covers most of the areas. However I am creating a script which will create the folder and branch structure within a specified project. For this i need to convert my Truck to a branch and then further create branches from there. I cannot find the command which does this. So far I have found this...

How can I reuse a centralized Build Process Template for new projects in TFS 2010?

The Goal: New Team Projects should point to a centralized (custom) Build Process Template which my team maintains and makes occasional updates to. These updates should apply to all projects which use the template, so we need those projects to point to the centralized version of the template, not a copy which is local to the project. W...

TFS 2010 Fresh Install - on virtual or physical machines?

Hi, I'm planning on installing TFS 2010 as a fresh install. I'm thinking that I'll do a dual-server deployment to start. For the DB tier, I'll most likely go with physical. For the App tier, is there any reason not to go with a virtual machine? Thanks, --Ed P.S. does anyone know why using the TFS2010 Install Guide chm (TFSInstall-RT...

Tfs 2010 Build: Continuous Integration and Gated Check-In together?

I already have a CI build running on my Tfs2010 instance, but I'd like to get a Gated checkin build running as well. There are subtle differences between the ways I would like these two builds would run, however. Specifically, I'd like the Gated checkin to not produce bug workitems on failure, not associate changesets and workitems on bu...

How to get visual studio to forget about an old tfs?

We moved to a new tfs, with a new name, the old one doesn't exist anymore. When I create a new blank solution and select file|source control|change source control and click on 'Bind' Visual Studio tries to connect to the old tfs. Under Team|Connect to tfs|.servers I removed the old one and connected to the new one only. Also my workspac...

Merge Changes for specific Work Item

In TFS 2010 we have a development branch where all development is done for one product. I want to merge some of these changes to a release candidate branch, so it can be tested and rolled out. Therefore I would like to merge all changesets that are linked to specific work items we want to put into the release candidate. I can track all ...

Show all changesets between two labels

In TFS2010 each build is associated with a label by the build server. Our SCM management wants to see all the changesets and related workitems between two labels. Mostly those labels are builds that have a build quality "Released". This way all changes between two delivered builds can be reported. How is this done in TFS 2010 ? ...

Steps for changing process template for an existing project in TFS 2010

Hi I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010. During the lifetime of the installation a lot of projects have been created and different project templates have been used. MSF Agile 4.0, 4.1, 4.2 and 5.0. and a few MSF CMMI ones. What I would like to do is...

Team Foundation WIQL - Link Query

Is there any way to create a WorkItemLinks query that contains only a specific link type, (i.e. 'Related') but that does not contain any links of a range of types? Example. Select all items that have a link type of 'Related' but do not contain any link type of 'Parent', 'Child', 'Successor', 'Predecessor'. I've been able to do one or...

What does ***NO_CI*** stand for?

A gated check-in will create a change-set whose name is ended with *NO_CI*? What is that NO_CI stand for? I can just think of "no check in errors" but it doesn't make sense. ...

When I install TFS 2010 what is the standard user name and password at /tfs?

I just installed TFS 2010. When I go to machine-name:8080/tfs on my web browser it asks for a user name and password. What is the standard user name and password? How do I set this? ...

Is it possible to query TFS system for any work items that contain an attachment ends with .sql?

For every release we would like to round up all the work items that contain a .sql attachments to run on our staging server. Is there a way to query TFS? Or is this something that has to be done directly to the TFS server database? Any suggestions? We're using Team Foundation Server 2010 RTM. ...

Dock Changeset Details dialog into a tab?

In TFS 2010, is there a way to dock Changeset Details dialog into a tab so that I can browse through changeset quickly like SVN? As of now, I have to click on a changeset to see the details in a dialog and then close it and click on another. ...

How to customise TFS2010 build to print a message in the log

Hi guys, I have recently migrated one of my solution from SVN+CruiseControl to TFS2010. My build definition is using the Defaul Template. And I would like to customise the template. Since I have never worked with workflows before I decided to start by printing a simple message in the build log. For this purpose, I have added a WriteBuil...

TFS Check-in Policty for Unit Tests

Is it possible to enforce that every check-in to TFS has an associated unit test with it? Even if the associated unit test is just a shell? I don't want to allow code to be checked in without the code first having an associated unit test class. I am using TFS 2010 ...