tfs

Is there a way to create a new team project using the TFS SDK?

I'm just getting started with the Team Foundation Server SDK and I'm wondering if there is a way to create a new Team Project using the SDK. My goal in doing this is to create some automated tests to aid in system validation (being an FDA regulated company we are required to validate our in-house tools, to the extent this can be automa...

TFS vs. JIRA/Bamboo/SVN

Hi, this week I participated a presentation of the 2008 TFS. Currently we are using Jira and Svn (and maybe Bamboo). What solution to you prefer? ...

TFS: merging changes from a single file back into the latest version

Consider the following problem. You remove code from a file in changeset 10. Later on you realise that code should not have been removed, and you want to merge it back into your latest version. How do you do that with TFS with Visual Studio? With (Win)CVS that's as simple as selecting the file and using the update command's merge optio...

how to publish a website in different folder using cruise control

i am able to build a website using cruise control. But i am not able to publish the website in different folder. I am connecting cruise control with TFS. How to publish a website using cruise control? ...

Connecting to Team Foundation Server (TFS) with proxy authentication

Yesterday I created a new project in Codeplex. I created a connection from Visual Studio to the TFS server I was assigned and uploaded my solution successfully. Today I'm trying to connect again to the Codeplex TFS server to work on the solution. When I try to open it, I get the error: Team Foundation Server https://tfs06.codeplex....

Why would you choose TFS over Trac + SVN + VisualSVN

For what reason would you choose Team Foundation Server over a combination of Trac + Subversion + VisualSVN in a small Team (<5 developers) as your source control, issue tracking and documentation platform? ...

Access Denied on TFS

When I try to check out a file from TFS I get the error TF14098: Access Denied User [username] needs PendChane permission(s) for [path]. I have added the user to the contributor group but it still won't let them check out a file. ...

Building a set of specific projects in TFS

Hi, Does anybody know how can I configure TFS Build to build a set of projects in a solution instead? The solution I have, has 16 projects but for one of my build definitions I want some of them to be compiled. ...

Using references in ASP.NET with Visual Studio and TFS

I am working with Team Foundation Server and Visual Studio 2008 for the first time. I had a web site project that was done with Visual Web Developer Express, which I have converted to a solution containing a Web Application Project, setup for TFS source control, etc etc. TFS was having issues checking in/uploading some of my referenc...

How do I distribute a service that uses the Team Foundation Server API?

There are tons of great examples of creating work items using the TFS API, which is all packaged as part of the VS 2008 SDK. So, imagine I've created a simple web service that takes a few bits of information, then creates a work item. Everything works wonderfully locally, but what if I want to deploy that web service somewhere else? L...

Populating the TFS WorkItem revisions collection

I am writing a tool that needs to access all the revisions of a TFS workitem template. The Workitem has a Revisons collection, and Rev property that returns the number of revisions. When I try and do a foreach through the collection, even though it contains 6 "entries" in my test workitem, the collection is empty. To work around this ...

Replicating Team System's "Open Selection in Microsoft Excel" functionality

In Visual Studio, VSTS has the functionality to select a set of work items and click a button to open them in Excel, where you can modify them. Then, using the 'Team' ribbon, you can publish changes back to TFS. We would like to replicate this functionality in a totally different business context. Does anyone know of any sample code or ...

The fastest way to query Work Items from TFS

I have 6000 work items stored in TFS Firstly, I need to receive them all (well, this is fairly simple to do using WIQL or something else) Then, I need to filter out all work items I was not working for a particular date range. For example, I am looking whether there were any changes performed for each work item. Finally, I show work i...

how can i check who has a specific file checked out in tfs?

how can i check who has a specific file checked out in tfs? in VS2008 a file in the project is marked as checked out ...

What's the best way to take my TFS source controlled project on the road and then bring it back?

So my desktop is my primary workstation for VS2008 that's supported on the backend by TFS. I'm hitting the road for a week and I'd like to take a project with me. I'd like to checkout the entire project, copy it to my external HD and then work off that. I know that when I try to open it on my laptop that won't be connected to the netw...

Merge a task with TFS

I am using TFS source control, and I fixed bug, and when I checked in my changes, I associate the check in with the task (that represent the bug). Now, the complicated stuff. I want to merge the changes associated with that task, into another branch. I couldn't find a way to do it in Visual Studio team system, or TFS source control exp...

TFS 2008 Continuous integration MSBUILD on Branch fails on Label

I am attempting to use CI on a Branch of one of my TFS projects. MSBuild only fails when I try to use a Branch. I point the same Build at the "trunk" project it works fine. The error I receive from the build log: Task "Label" Label TeamFoundationServerUrl="http://TFSServer:8080/" BuildUri="vstfs:///Build/Build/6763" Name="T...

How to get the full folder history from TFS programmatically?

Hi. I have a folder under TFS source control system, let's say under "$/My Project/Branches/Dev" path. It was just recently moved from another location, which was "$/My Project/Dev". Now when I request its history from the Source Control Explorer in VS I get the full history, where the described move operation was just one of the chang...

How to check SiteCore's serialisation tree into TFS

We're using Sitecore and to share the content between developers we're serialising the content tree to the filesystem then checking this into source control. This worked fine in the last project that used SVN, but this new project is using TFS. Unfortunately TFS won't accept paths that have a dollar sign in them, ie \serialization\mas...

How to make MSBuild reference the right assemblies?

I'm trying to get MSBuild working on a project that has just been moved to TFS2008. The solution was huge, so it was split into 5 team projects, A-E. Each one has only one solution but several projects. A is relient on B-E being built first. We need to build both debug and release versions of everything, which is fine, but when we compil...