tfs

TFS API - is there a way to get a list of the transitions for a workitem type?

I am trying to get from State "A" to State "X". There are transitions in place that prevent me from just going to X. I can export the WorkItemType as XML and work on that, but before I do that, I thought I would ask if there is a way to get at the Transitions via the API. ...

Team Foundation Server - Moving Source with History

I was wondering what the best approach might be in moving source code, with history, from one Team Project to another Team Project. I am not concerned with work items, reporting, or SharePoint sites, as the system we are going to be restoring from did not use these functionalities. The reason for wanting to move to a different Team Pro...

View a list of all files changed as part of a Workitem in TFS

If I am checking in code against a workitem, on each check in a changeset is created. I can view the links tab of the workitem and then view each changeset to see the files that have been changed. Over time, however, the workitem may end up with many changesets, and finding all files that have been changed can be a very time consuming an...

Unable to get the Latest files from TFS?

First i tried to get the latest files from the TFS , but shows a dialog box stating that i have all the latest files. Then i tried to getting the latest through Get Specific Version, still i was unable to get the latest files. I even tried deleting the workspace. ...

TFS: cannot setup up new build

I have a problem that is described here: http://stackoverflow.com/questions/2146198/tfs-cannot-set-up-new-build I use Visual Studio 2008. Unfortunately, the solution provided there, didn't help. I tried to remove and add again my TFS server - no help. Also, it's not a problem with security policies or lack of proper right, because I can ...

Can we migrate to a new TFS process template and keep history?

We are currently using TFS 2008 with the Scrum for Team System template from Conchango, with a few minor tweaks. We are looking at upgrading to TFS 2010 and we are considering moving to the MSF for Agile template. What is the best way to move to a new process template and keep history? I'd like to be able to create a new team project o...

What are the primary advantages of Visual Studio Team Foundation Server over the other versions?

We are looking into the possibility of upgrading to Team Foundation Server 2008 for our development team. One of our primary reasons is some of the deployment capabilities surrounding BizTalk 2009, but I am curious what other benefits there are for other projects outside of BizTalk. Some of our interests so far are moving to a one click...

Shelving vs Workspaces in TFS

Currently I am working on a project that uses TFS as source control. I am in the middle of implementing a piece of functionality, but am blocked by work that needs to be done by outside resources. Since the functionality is not fully complete, I can't check in the changes without breaking the build. So instead of waiting a couple days...

tfs2005 shows pending edit

Hi All, I'm in Source Control Explorer 2005 and it shows I have some files in Pending edit status but I don't have any peding checkouts? Any ideas? thanks, rodchar ...

TFS build problem: missing assembly in test output folder

Hi all, I am trying to integrate unit test cases with a TFS build in our new solution. I've include the following configuration line in my TFSBuild.proj <ItemGroup> <TestContainer Include="$(OutDir)\%2aTest.dll" /> </ItemGroup> Which I think is the correct configuration since I only have 1 test project. However, when I do this, ...

TFS: comparing changesets

In TFS we can find "compare" a file between 2 changesets. Is it possible to compare 2 changesets. Say take changeset "r" as reference and compare it with changeset "s" and find the files/folders which were added/removed/delted/edited ? ...

Why does TFS not report errors and warning generated in the MSBuild exec task?

In my TFSBuild.proj I have the following Exec commands: <Target Name="AfterCompile"> <Exec Command="@echo Program.cs(12,20): warning CS1002: ; missing"/> <Exec Command="@echo Program.cs(13,20): Warning CS1003: ;; missing"/> <Exec Command="@echo Program.cs(14,20): error CS1004: ;;; missing"/> </Target> The TFS build fails, ...

Total commander and displaying sytem icons of TFS files and folders.

Hi, I would like to see in total commander file and folder icons as in OS, with green triangles etc, like after installation of power tools for team foundation server. Does anybody know how to achieve this? Is there any way to see file status (check in, check out etc.) inside total commander? ...

Team Foundation Build or TeamCity?

Hello, We are a mostly MS shop at work doing .NET LOB development. We also use MS Dynamics for our CRM app... all the devs are currently using VS/SQL Server 2008. We also use VSS, but everyone hates it at work and that is quickly on its way out. We are begining our initiative for TDD implementation across the team (~dozen ppl). I've g...

Visual Studio 2008 Code Changes between given dates

Is there a way in Visual Studio 2008 Team Foundation System to produce a report showing "Between date 01/01/2002 and date 02/01/2002 the following code was added:": FunctionOne(Param one, Param two) { //Func one contents } FunctionTwo(Param one, Param two) { //Func two contents } The following code was modified: FunctionOne(Param one...

Does converting a source module from Unicode to ASCII or vice-versa seriously mess up the diffs?

In a test suite, I had tests that deal with unicode scattered about in various modules. I have now consolidated them into a single test class. The .cs source modules that no longer have any unicode in them, remain unicode-encoded, and as a result are 2x their required size. I'd like to convert them back to ASCII, to save the space, an...

How do I add IIS Virtual Directories and arbitrary files in TFS Solution

We have a web portal product from which we customize portals from customers. We use the precompiled web app and create a virtual directory (vd) where the customization resides. In addition to this we do some changes web.config in the web app folder. We would obviously like to keep these customizations under TFS source control. When I t...

Renaming folders in TFS

I have a folder in Team Foundation Server with several sub-folders: candidates beta1 beta2 rc1 ga I'd like to move three of them under a new folder: candidates defunct beta1 beta2 rc1 ga Each folder contains tens of thousands of files of various sizes. They are all branches of some other folder. I don't have them checked ou...

How to create version in Jira properly?

How do you version in JIRA when your versions are like 4.8.{TFSBuild}.{TeamCity.Build}? Do I simply create a 4.8 Version in Jira? However what would I set the release date to? The problem is that our versions are dynamically and created based on the build# from tfs and the Team City build#. What is now the best way for me to create versi...

Build fails because mstest keeps unittest dlls open

Hello all, I have a build running through TFS. The build process was 'customised' by overloading the 'BeforeDropBuild' target, where create an installer, remvoe all original build output and leave only our installers there. We also run some unit tests through the build. The problem is that during 'BeforeDropBuild' target, the deletion ...