tfs

Namespaces combined with TFS / Source Control explanation

As an ISV company we slowly run into the "structure your code"-issue. We mainly develop using Visual Studio 2008 and 2010 RC. Languages c# and vb.net. We have our own Team Foundation Server and of course we use Source Control. When we started developing based on the .NET Framework, we also begun using Namespaces in a primitive way. With ...

TFS Build drop location not accessible outside the network

I have a few builds running on TFS Build 2010 RC. The build definition requires the drop location to be a UNC path or network share so I am using something like \\tfs\builds. I've exposed port 8080 so while I'm not on the network, I can still access it, primarily for source control but I also check the completed builds. However, the buil...

What does it mean when Source Control Explorer shows both branch and merge for a changeset?

I am trying to understand the history of my codebase, which resides in TFS 2005, and I encountered a changeset where all changes were marked as both branch and merge. Name Change Folder ------------------------------------------------ A.cs merge, branch $/Root/Solution/Project I am unable to find anything (especia...

TFS Build Automation - Web Deployment Project error

I'm trying to build a web deployment project using TFS automated build process. When I build the project directly in Visual Studio 2008, it works fine. But from TFS, I get the following error: "C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) -> "C:\Users\tfsservice...

TFS - Link a Work Item to a Label

In TFS it is easy to link a Work Item to a changeset. I would like to link a Work Item to a Label. Is this possible? Anyone know a way? ...

How to integrate StyleCop into Tfs 2010

Hi, I need to run StyleCop rules check when gatecheckin into tfs2010. But I dont know how to configure this. Please help. ...

TFS: How do I cleanup the messed up server?

Hello, I'm using TFS to connect to codeplex.com. The source version of the project is messed up, and I want to replace it. Found a way to delete the project, but it won't let me delete it. How can I say delete all of the subprojects without deleting the representative folders on the hard drive? Note: this is codeplex so I have limit...

How to set work item state / reason when using Pending Changes window

I am using a custom workflow for tasks in TFS 2010. However, when I check in code using the Pending Changes window and "Resolve" a task it is automatically put into a state of Closed with a reason of Cut. Is there any way to modify this behavior? ...

TFS 2010 enforcing Code Analysis in Gated Checkins

Hi Is it possible to enforce VS Code Analysis (FxCop) as part of the Gated Checkin policies? So the developers will not be able to checkin unless the CA is passed. Thanks ...

in TFS can we customize the merge algorithm (conflict resolution)

In our case we want to igonore changes in code comment headers for generated code. In Visual Studio, we can change the merge tool (GUI that pops up) and use a 3rd party tool that is able to be customized to ignore changes (http://msdn.microsoft.com/en-us/library/ms181446.aspx). Great, so a file comparison no longer highlights code commen...

How to force Team Foundation Server SDK / API check-in to a given date?

I would like to force the date of the check-in in TFS. Is there any way? I got the following code, but could not find any way to pass a check-in date: Dim tfsChangeSet = tfsVersionControl.Workspace.CheckIn(tfsPendingChanges, user, ...

How to browse TFS changesets?

I want to browse TFS changesets. I do NOT want to search changesets by specifying a file contained within the changeset. I do not want to specify which user I think created the changeset. I simply want to key in a changeset number and look at that changeset. Or maybe view a range, and then browse those. No specified file, no specified...

is there a cruise control style 'green light' taskbar monitor for tfs?

Hi, We used to have Cruise Control and have recently moved to TFS - I miss the green light letting me know everything was fine! I just missed a build failed email and got latest :( Is there a green light task bar app for TFS? I googled it but just found some USB light one - which does look good, but the lights are pricey. Cheers, A...

Change Management practices: How to use TFS ensure that we release what was tested and approved

How do teams ensure that the code that was approved in QA is the same code that is released to production? What automated controls does TFS provide to ensure this? Also, how do you cross reference compiled code to source code so that you never have to wonder if you need to recompile again? We come from a Classic ASP shop where sour...

Team Build: The path 'Path' is already mapped in workspace 'workspace' error even after deleting all workspaces on build agent

I have this problem when I queue a build. The build dies with the error The path C:\[Path]\Sources is already mapped in workspace [Server Name]. the same as this question. but I've removed all the workspaces on the build agent by running this command: tf workspaces /remove:* and also by deleting the TFS cache folder. I've also...

TFS 2010 B2 64-bit build agent "unknown state"

Our TF Server is installed on a Windows 2008 Server (32-bit) and the build service is installed on a 2008 Server 64-bit. When attempting to get the build service going, the agent is reported as being in an unknown state. When testing connections between the controller and agent, everything is fine but it is impossible to successfully bui...

Enforce custom stylecop rules for a checkin policy on TFS

Hi, I have installed StyleCop CheckIn policy (from here) and it works great. However I have written some custom rules which I want to be enforced as part of the CheckIn policy (Visual Studio 2008, Team Explorer 2008, TFS 2005). The custom rules appear fine in the settings file when I right click on a project and click "StyleCop Setti...

custom control for TFS work item type

I will explain my question with an example. Lets consider TFS "Bug" work item type. In the bug work item type there is a "Developer" and "Tester" dropdown. Using the inbuilt rule types we can only assign "VALIDUSER" to each drop down. This displays all the windows user in the drop down. I want to be able to create a custom subteam under ...

Unshelving in TFS: What does it mean?

Here's the part I get: When you shelve in TFS, it makes a server copy of the changes so they are not lost, but does not check them into the source code trunk/branch you are working on. Question: Under what circumstances would you use the "unshelve" feature? Does it mean it will remove the shelveset from the TFS server? Can you do a get...

real-word use of Mercurial with a Team Foundation Server?

My shop uses TFS & is generally happy with it with the exception of the lack of local repository commits/reverts. I'm starting to use Mercurial locally myself to help manage smaller chunks of changes, then posting them to TFS. I see that Subversion has a 'bridge' component to automagically enable this if the central VCS is Subversion. I ...