tfs

How can I review the code affected by a specific changeset in Team System/TFS?

I've been all over the Visual Studio IDE and haven't been able to find where to see the itemized code/files affected by a specific changeset. I found the Changeset option under "Find in source control..." option with the Source Control window up, but it's pretty useless at that point as it only lists the changeset for me but doesn't all...

Copy source control history when I branch, then delete trunk, in TFS

I have a TFS project that ought to be a folder under another project, so I want to move the source control history (We don't use the other features of TFS for this project, so I don't care about the project site). I've branched the code into the new location, and I'm preparing to delete the original project. This SO question deals with ...

Making a TFS Branch Read-Only

We are trying to follow the branching strategy from the TFS Branching Guide and have reached the point where we have made a branch representing a release, which should now be made read-only. In the Properties|Security tab for the branch, it presents six user groups each with 10 permissions other than Read. Do I have to go through and cl...

MSBuild Custom Common Targets.

I'm finishing setting up a TFS Build definition and having problems with getting MSBuild to run any code that I've put in the Custom.After.Microsoft.Common.Targets file. The file is definately in the right place, and is definately being parsed (breaking the syntax in the file causes build errors), but none of the code in it gets run. I'v...

TFS 2005: Why does merging NOT WORK?

Sorry for the capitals, I have spent all day dealing with stupid TFS instead of actually doing development work. I have a main branch and a dev branch. I merged changes from the main branch up into the dev branch fine. Now when I try merging up again it says there is nothing to merge. HOWEVER, when I merge down from the dev branch to t...

Find all locked files in TFS

I would like to see all files that are locked. so far, I've only found to use tf.exe status and look for anything with '!' because they are not reported as "lock, edit" as they are in the UI. Any ideas? thanks. ...

Deployment of code which uses the Microsoft Team Foundation Server APIs

What are the bare minimum requirements to deploy an exe that uses TFS APIs ? I have a machine with a small C:(12GB with only 1GB left). I cannot install VSStudiio 2008 SP1 + Team Explorer + VSStudio SP1 SDK on that machine since SP1 requires C:\ (So does .NET 3.5 SP1). Any workarounds ??? Presently I get an exception: System.InvalidPro...

TFS Bug reassignment behaviour

Hi This is likely by design for big teams with proper QA departments, but we are only 3 devs and do round robin QA on each others work. The problem is say person A creates a bug, and assign it to person B, and the person B resolves the bug, TFS reassigns the bug to the creator. This makes keeping track of your own fixed bugs nigh impo...

Why are all files marked with 'merge' in TFS?

I am merging my development branch into the main branch. There is only a subset of files that I have changed in my development branch, all other files should remain unchanged. Logically, I only want to merge files which I've changed. I would not check in a file which I did not change. But when I do the merge operation in TFS, it mark...

Team Foundation Server reporting stops refreshing after adding a CMMi repository

Hi… I have this problem and did not find in the site a case like mine. Here is the thing. I created a TFS 2008 with the scrum template (Conchango). It was a clean install (a fresh OS, a fresh SQL Server, a fresh machine, etc…). So everything worked like a charm. I created 3 Scrum repositories, assigned permissions, uploaded files and ...

Import TFS History into Mercurial (hg)

Has anyone had any success importing TFS 2008 history into a new Mercurial repository? The only possible solution I've found to date is to go TFS -> svn -> hg using tfs2svn and then using the Convert Extension but I haven't tried this yet. ...

How do I set up TFS PowerShell Snapin

I have installed TFS Power Tools and I am trying to use the powershell snapin, but I can't figure out how to set it up. When I look in the install folder, I only see the following 5 dlls. Microsoft.TeamFoundation.PowerToys.Client.dll Microsoft.TeamFoundation.PowerToys.Common.dll Microsoft.TeamFoundation.PowerToys.Controls.dll Microsoft...

Team Foundation Server Build with password protected codesigning fails

I'm trying to setup a continuous integration build on TFS 2008. In the project I want to build I use a key for signing. This key uses a password. I can't get it to build, because during the build TFS wants to show a dialog which can't be shown. I think I need to build the project by hand on the server, but only the TFS explorer and build...

Running MSTEST.exe /publish on a TeamBuild server, what are the prerequisites?

Similarly to http://stackoverflow.com/questions/954943/how-to-use-mstest-in-continous-integration-without-vs, I want to run mstest.exe on a TeamBuild server. My context is http://stackoverflow.com/questions/1059230/trapping-error-status-in-msbuild/1059672#1059672 - i.e., I'm only trying to use mstest.exe /publish to upload the results i...

MSBuild task for combining NUnit or MSTest XML results

I have a set of NUnit XML result files (produced by xUnit.NET via the NUnitXml parameter to the Xunit.Runner.MSBuild.xunit msbuild task pretty much as in http://stackoverflow.com/questions/517560/how-do-i-get-team-build-to-show-test-results-and-coverage-for-xunit-net-test-suit and http://jonnekats.wordpress.com/2009/05/07/integrate-xunit...

Team Build - Automatically Reenable Agent After Becoming Unreachable

We have a central Team Foundation Server (2008) deployment where all projects get stored. Each project sets up their own build server running Team Build to do their own automated builds. Here's the problem. When a connection error is detected between TFS and the Team Build server, it moves the build agent's status to 'unreachable' which...

Visual Studio 2008 version required on TFS Server 2008

We want to run our unit tests on our TFS server. We are running the database, TFS and the build agent on the same machine. We have set it up and it appears to work up to the point that MStest tries to publish the results to the TFS server. We get the following error: The "TestToolsTask" task is using "MSTest.exe" from ...... Invalid ...

How to identify the process template of already created team project using TFS SDK programmatically?

I'm implementing a web interface for TFS bug tracking system, so customers can log in and enter bugs. In here I want to add fields according to the template type of the VSTS team project created. For example, a team project created using 'Agile' template has different set of fields than other templates. Therefore I want to identify the p...

Restore Move of TFS 2008 to server with SQL Server 2008

As part of a disaster recovery test of our TFS 2008 instance I hoped to restore our backups of the database (currently on SQL Server 2005) to SQL Server 2008. I noticed a warning on MSDN that this could make a restore impossible. Has this been done in the wild? What are the risks? ...

How to create a Visual Studio macro that works with Team System work items

I need to create a macro or VS.net Addin that will insert the current date and time and user name in a field in a TFS work item. The sample macro does not work and I cannot find any way to programaticaly access a TFS work item that is open in the IDE. Is this possible? ...