tfs

ASP.NET Application - Extract, Test, Compile, and Deploy

Assumption: I'm very new to the Continuous Integration space. What is the method I should use for Extracting, Testing, Compiling, Deploying an ASP.NET (.NET 3.5) application. Step 1) Sometimes I would like to pull the latest source from TFS, and sometimes Subversion. Step 2) Run all tests. (I am currently using MbUnit) Step 3) If al...

Get labels applied to a particular version of an item in TFS source control

I'm trying to get a list of labels that apply to a particular version of a particular file in TFS Source Control. So far, I've gotten a set of labels that apply to any version of a particular file. Does anyone have any experience getting labels for a particular item? For example, I have $/Project/Folder/Item.cs, which was modified in ch...

Team Explorer 2008 and MS SCC API?

Hi, I apologize if this seems slightly off-topic, it's more a technical/installation question than it is a programming question, though I bet someone here knows it. In any case... I've installed Team Explorer 2008 since we're using TFS here for source control, and now I'm looking at Help and Manual, which has support for source control...

What's the best way to deal with dead branches in TFS?

In TFS, what is the best way to mark dead branches? Do you move your branch? Branch release it? Delete it? Rename it? What problems have you run into for each of these approaches? What are the good points? It would be nice if there were a simple interface solution that would simply mark or filter the current view if a particular b...

VS2008 TFS: Is it possible to change the default Check-in Action for work items?

When I check in code to our Team Foundation Server, I some times (probably more often than I actually do...) should associate my check-in with a task or a bug I am working towards. When I mark a task or a check in, it sets the Check-in Action to Resolve. But almost always, I just want to have it as just Associate. The result is that I of...

Using EnvDTE.Solution - How to Remove Source Control Bindings

How do I use the EnvDTE.Solution API to remove TFS source control bindings from the solution file? I know I can open the file in notepad and delete the GlobalSection portion, but I'm not sure if (or how) I can do this within the method below... public void Export(Solution solution, TemplateInput model) { if(model.RemoveSourceCont...

TFS-Workitem

Hi, I have a requirement and I am not able to figure out the solution. Any kind of help is appreciated. We have customised the process model. Issue. I have FactTable say Release, Release has Project, projects would internally have different states, development-production-QA. what i need to do is generate a query that would get me all ...

How can I migrate TFS source from one team project to another?

We've decided to go with a different template for our team project and want to move all of source under that team project. We are not concerned with migrating work items, but we would like to keep the version history of the source files, if possible. I tried the TFS to TFS migration tool on code plex and it seems to only move the most re...

Capturing Non-Standard Powershell CmdLet Output for Flow Control

Currently trying to build a script utilizing cmdlets from the MS released "Team Foundation Server Power Tools" package. I'm attempting to flow command logic from the success or failure of the "Update-TfsWorkspace" cmdlet however I can't seem get a return code out of the call nor can I capture the output using Out-String. I'm using Powe...

TFS vs SVN

I am about to start a project (.NET) and need to decide between TFS and SVN. I am more used to SVN(with tortoise client), CVS and VSS. Does TFS have all features available in SVN Have any of you switched from SVN to TFS and found it worthwhile? Also it looks like we may need Visual Studio if we need to work with TFS. [Edit] Money is n...

TFS and TSWA public access

Hi Currently we are faced with 3 different systems for creating and maintaining tasks, bugs in regards to both the customer and internal work. In our organization we would like to let the customer use the TFS frontend, TSWA (Team System Web Access), web portal to report and interact with the developers/project manager when testing new ...

Does the free Team Explorer client work without Visual Studio

We are about to setup a cruise control.net with and NAnt and TFS, do I need visual studio 2005/2008 with team explorer installed or can I make this work with just the free Team explorer client ...

TFS, VS2008: How to deal with external assemblies

We have various solutions with various numbers of projects in them. All checked in to a Team Foundation Server source control thing. Most of them builds as Class Libraries. Anyways, we now want to use some 3rd party external assemblies in our project. And I am wondering how to best do that. Cause we of course want to have those assembl...

Is there a better way to view/interact with workitems in TFS?

I'm in the requirements/design phase of building an application. We're using VS 2008 and TFS. I have a bunch of scenarios, and related tasks. Some of the requirements have changed, and I would like to go through and see which tasks need to be changed/deleted. It's very difficult to view the overview of the system using any of the exi...

TFS Merging Across Branches Leaves Stale References to Source Branch

I've been encountering a little quirk with TFS lately. A good chunk of time when I merge from one branch to another TFS does something funky with project references. If I let TFS handle the merging whenever possible, it will insert both a reference to the source branch and the target branch. Depending on whose machine you try it from,...

Changing the location of the TFS Build

I have a TFS Build Server where the CI and Release builds occur. The build process runs under some domain account and all the build activity happens under this user's temp directory. Unfortunately, the \Users directory is on the C: drive which turns out to have not much space. Although the build retention policy is quite strict, there ar...

TFS: Moving a Team Project from one server to another?

Hello, is there a (simple) way to move a single TeamProject from one server to another? Including source code, work items, documents, project site... We don't want to move our server from one machine to another. Just a single project from server A to server B. ...

How-to Keep Projects Structure with TFS Team Build

Hi, I've a Solution structure as below : Solution 1 (Solution1.sln) Project 1 Project 2 Project 3 I created a Team Build definition working with Solution1.sln. My problem is that compiled binaries are stored into a single flat output folder : BuildName\Release But I want to keep my project structure : BuildName\Project 1\Release ...

TFS Branch/Merge meets History View

We have a setup with a development "trunk" in our recently-migrated-to-from-VSS TFS system and developers have been doing work in branches off the trunk, which are merged back in. We've been diligently commenting our changesets at check in time, something we never did in the VSS days. However when I right-click on a trunk file in the S...

How do you use Team Foundation Build to build for multiple environments?

When you are using Team Foundation Build to build a project for multiple environments, do you do one build for all environments, or keep a separate build script for each environment? Think of the case when I might want the workspace version on my build server to build in DEBUG mode for QA and RELEASE mode for UAT. Should one build req...