tfs

TFS annotate/blame summary report for a project

In Team Foundation Server, I know that you can use the "Annotate" feature to see who last edited each line in a particular file (equivalent to "Blame" in CVS). What I'd like to do is akin to running Annotate on every file in a project, and get a summary report of all the developers who have edited a file in the project, and how many line...

Cruise Control .Net vs Team Foundation Build

Our team is setting up nightly and continuous integration builds. We own Team Foundation Server and could use Team Foundation Build. I'm more familiar with CC.Net and lean that way but management sees all the money spent on TFS and wants to use it. Some things I like better about CC.Net is the flexibility of notifications as well as t...

How do you turn on Code Coverage in Builds within TFS?

I need to know how to turn on Code Coverage when running TFS builds on a solution with a .testrunconfig file. There is an option in the testrunconfig file that is for code coverage, but when running a TFS build there is no code coverage results. I am running my tests using the *Tests.dll mask and NOT using Test Lists (.vsmdi). ...

Is there any tool to see at a glance the changes of a TFS checkin (for review)

I'm an architect doing reviews on the code checkins of many developers using TFS. Currently, I have to use Source Control history to see individual checkins, then for each checkin I have a list of changed files, and I must double click each file to see its changes (if it was existing) or its contents (if it's new). This is time consumin...

What should be done to make TFS send e-mails for events?

Our Tfs server (Tfs2008) has smtp server installed. But we could not make Tfs send e-mails after events to the subscribers (we are using EventSubscriptionTool). Our appsettings includes these lines: <add key="emailNotificationFromAddress" value="[email protected]" /> <add key="smtpServer" value="localhost" /> Is there any other tricks f...

TFSBuild.proj and Importing External Targets

We want to store our overridden build targets in an external file and include that targets file in the TFSBuild.proj. We have a core set steps that happens and would like to get those additional steps by simply adding the import line to the TFSBuild.proj created by the wizard. <Import Project="$(SolutionRoot)/libs/my.team.build/my.team...

What is the optimal VSTF source structure? Are there any best practices?

There are a number of other questions related to this topic: Whats a good standard code layout for a php application How to structure a java application, in other words: where do I put my classes? Recommended Source Control Directory Structure? Structure of Projects in Version Control I could not find any specific to VSTF, which has...

Start seleniumRC from Fitnesse

I'm trying to integrate running Fitnesse tests from MSBuild im my nightly build on TFS. In an attempt to make it self contained I would like to start the seleniumRC server only when it's needed from fitness. I've seen that there is a "Command Line Fixture" but it's written in java can I use that? ...

How do I do Dependency Injection in a test project (TFS 2008) using Castle

I'm using Castle Windsor for dependency injection in my test project. I'm trying to create an instance one of my 'Repository' classes. "It works fine on my machine", but when I run a nightly build in TFS, my tests are not able to load said classes. private static readonly WindsorContainer _container = new WindsorContainer(new XmlInterpr...

How do you resolve Linked server references in SQL Database project in VS?

In a Visual Studio SQL Server Database project, how can you resolve the errors associated with linked server references within the project? ...

How do I change the build directory that MSBuild uses under Team Foundation Build?

I'm getting the following error when trying to build my app using Team Foundation Build: C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1682,9): error MSB3554: Cannot write to the output file "obj\Release\Company.Redacted.BlahBlah.Localization.Subsystems. Startup_Shutdown_Processing.StartupShutdownProcessingMessag...

Cannot store load test results in a TFS 2005 results store

I've setup a results store and when I publish results of a load test, I can't view the published test details. From the test run section of the build report I click on the published build and when I choose View Test Results Details from the Test Runs shortcut menu I get an error that the test results details cannot be viewed because th...

How do I prevent TFS from overwriting a label?

If i make a label in TFS, and later make a new label with the same name... then the old label is replaced by the new one. How do I prevent TFS from overwriting a label? ...

Can I unshelve to a different branch in tfs 2008?

Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt) ...

How can I disable work item creation at the end of a failed Team Foundation Build?

I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in the TFSBuild.proj file for the build type but that didn't do the trick. ...

Installing TFS 2008 Workgroup Edition on Windows Server 2003 with SQL Server 2008

I ran into an issue when installing Team Foundation Server 2008 Workgroup Edition. I have a Windows Server 2003 SP2 machine that's practically new. I have installed SQL Server 2008 with almost all of the options. When I run through the TFS installation, it allows me to enter my SQL instance name and then goes through the verification pro...

Visual Studio Freezing/TFS Window Might be off screen

I am using Visual Studio 2005 with Team Foundation Server. When I right click a file under the source control and choose "compare" VS appears to freeze until I hit escape. My guess is that the window that is supposed to be popping up is somewhere I can't get to. I tried minimizing all the windows that I can and it is nowhere to be fou...

Cannot Access http://<tfs-server>:8080

I've installed TFS 2008, but I can't seem to access the server. When I try to connect to it in Visual Studio, I can't. If I try by browser on a remote PC, I get a generic page cannot be displayed. On the server, I get a 403. Nothing was touched in IIS and the service is running as a Network Service. Any ideas? ...

TFS Build Server drop location error

We're using TFS Build Server to ensure that all files checked in by developers are going to compile to a working source tree, cuz there's nothing worse than a broken build! Anyway we've having some problems with the drop location that Build Server wants to use, we keep getting this error: TFS209011: Could not create drop location \b...

Roll Up Task in Team Foundation Server

We are using TFS 2008 for project managmeent and I am looking for a method to roll up smaller tasks into larger tasks within tfs. Our work flow works like this: I create a new large work item, say 'Implement web page X' and assign it to my developer (lets call him Brad) Brad receives the task. Now he has never designed 'web page X' b...