tfs

.NET / TFS - Source Control - Output of One Build Included In Another

What is the proper way to include an output of one build as a binary in another build? Lets say I have a solution called CompanyName.Domain (my Domain Layer). I have it set up as a build and it builds nightly. Now I want to add a solution called SomeProject.Web. And I want to include the binary out of CompanyName.Domin into a Binaries ...

Custom Code Analysis TFS Check-In Policy

Is there any way to create a custom TFS check-in policy that can jump through each node within the code being checked in for code standards we have defined? ...

Removing a Recently Used Query from the List on the Work Items Tab of Pending Changes

On the Work Items tab of the Pending Changes window in Visual Studio (I'm using 2008), there is a dropdown list for the Query field which contains recently selected queries. Where is this list stored? I'd like to clean the list up. ...

Finding IterationID in TFS

Hi - we are linking Iterations within TFS to an external system for tracking projects through the entire company. In the past, we were linking using the IterationPath in a TFS Project, but the problem is that people rename these IterationPaths as the projects progress, and the link is lost. So after some research, I'm thinking of doing t...

User Permissions in TFS API - Start a Build, Administer a Build

I am looking for a way to find out if a user has the "Start a Build" permission for a given project. As of now, I know that the VersionControlServer object can be used to return a string array of the user's effective permissions within a project. But, when I run the GetEffectivePermissions method on the VersionControlServer, the "Start...

Why use a dedicated computer to make builds using TFS?

At the MSDN site, it states: "... install Team Foundation Build on a computer that is dedicated to running builds." OK, I got that. But my manager didn't, and I wasn't able to convince him. This way, I aske the SO community to help me convince him of the need to use a dedicated computer to run builds. ...

How can I implement a build pipeline with TFS

I try to implement a build pipeline using TFS. We already have TFS building our projects after each commit. But the build take too long so we would like to split the build into two stages. Continuous integration literature suggest this technique. So what I am looking for is something to do the following. Developer checks in his sou...

TFS: Create a new project from an existing one in TFS

What is the best way to create a completely new project in TFS by copying an existing one? I have an ASP.NET project that will have 50+ "releases" per year. Each release is a distinct entity that needs to remain independent of all others. Once created, I want to make sure that any change to one (the source project or the copy) does no...

TFS Branch Diagrams

Hi, Has anyone got any great ideas or experience around easily producing Branch Diagrams against TFS? Thanks in advance for your help Andy ...

Working with MSBuild and TFS

I'm trying to work with MSBuild and TFS. I've managed to create my own MSBuild script, that works great from the command-line. The script works with csproj files, and compiles, obfuscate, sign and copies everything that's needed. However, looking at the documentation of TFS & Team Build, it appears that it expect solutions as the "inpu...

Error 1721 installing TFS Power Tools on Team Explorer 2008

Several of our developers have the stand alone Team Explorer 2008 installed and the Ver 2.3 TFS Power Tools installed on Windows XP. One developer's machine produces an error whenever we try to install the TFS Power Tools. The error is: Error 1721. There is a problem with this Windows Installer package. A program required for this in...

sql server 2005 source control

I have connected the Team Foundation Server to my SQL Server 2005 Management Studio and added my Stored Proc's to the new project to TFS. All my SP's are checked in and everything works fine. But I have a question. I have my project that shows in Solution Explorer and I have the Object Explorer that shows all the Databases and SP's on th...

Can I completely force a checkin to TFS?

Hi, I need a way to force a branch in TFS to update itself to exactly match what is in the working folders. I need something that will delete files that are on the server but not in the working folders, add files to the server that are only in the working folders, and update the changed files by using the exact version that is in the wor...

How to access shelved source code from diff machine?

I shelved some source code from one machine into TFS. Is there then a way to access that code from another machine via TFS, or is it only accessible from the machine from which it was shelved? ...

How to Compare source code accross TFS projects

We have a number of legacy projects that were recently added to TFS version control. Now the issue that we have is that each of our projects contain copies of common code that has been modified and maintained separatly from each other. Is there a way to compare source from one solution in TFS to source in another solution on the same T...

Git or Subversion for a TFS user

I have been on TFS since 2005 Beta 2, installed it, admined it, and used it on a daily basis at work. I would like a source control solution for my home projects, written with Visual Studio 2008 Professional, and I cannot afford TFS. After merging, the big thing for me is the integration into Visual Studio, I have just become too accus...

Need command to get a file from TFS without a workspace

What I want to do is get a specific version of a file from TFS to a location other than my workspace using the command line (either tf.exe or powershell) I want to do this so that it doesn't affect the files in my workspace, and places the file into a release folder. tf.exe only seems to support getting a file to your workspace. I hav...

VS 2008 SP1/SQL SERVER 2008 SP1/TFS setup PROBLEM!!

I about to pull my hair out if i have to re install everything again! I've installed Visual Studio 2008 SP1 then TFS and when I try to install SQL Server 2008 there is an error message telling me to install the SP1 of Visual Studio. After a quick look on Google and SO, I've found the mysterious problem of TFS not being tagged as SP1 w...

How to chain TFS builds?

I have a scenario where I want to call one TFS build from another, the first one does the build and the second one does staging. This will allow me do multiple custom staging for the same solution. I know, I can pull this off with an exec task in the second build and call tfsbuild.exe to queue a build from the first build definition. Bu...

Good TFS Hosting Provider

I'm looking for a good 3rd party host for Team Foundation Server. Have any of you had good or bad experiences in the past? Will be working on a small .NET project with several other guys in different locations. Are there any performance problems or any other "gotchas" with 3rd party hosting? ...