tfs

How do you exclude files and folders from the tfpt scorch comand?

I need to synchronize my c:\Source\MyProject\Trunk workspace folder with tfs using the team foundation server power tools command tfpt scorch. I want the scorch command to skip the folder c:\Source\Myproject\Trunk\.git, all its children and the file c:\Source\Myproject\Trunk\.gitignore. How do I specify the "filespec" for the /excludes c...

Keep Attributes of Version Controlled Files Unchanged

Is it possible to keep the attributes of a version controlled file unchanged? I have a directory structure which I'd like my installer to recreate on the client machine. I was hoping the entire directory could be placed on VCS without affecting the file attributes. I'm using TFS but would also like to hear about other version control sy...

TFS: Labels vs Changesets

I am trying to come up with best practices regarding use of TFS source control. Right now, anytime we do a build, we label the files that are checked into the TFS with the version number. Is this approach better or worse than simply checking the files in and having the version number in the comments? Can you then use the changeset to go ...

TFS Team build guide

I am trying to use TFS team build, but can't find any decent startup documents/guides. Can somebody give me some pointers on do's/dont's and maybe a link to a good guide? Thanks! ...

Installing TFS 08 with SQL Server 2008

I realize that this question has been asked and has been answered here but I am having problems with the slip stream approach and I'm hoping someone else has run into it. I've tried downloading the newest installation guide but the help file appears to be corrupt as it won't open any of the pages so I'm a bit in the dark here. I rigorou...

code to attach a file to work tem in TFS

I want attach a file to a work item of type bug.While saving bug details to server i have this attachement.can any body help me? Thanks suneetha. ...

VSTS Bug Count Per User Story

We am looking to get a list of bugs per user story in TFS so we can identify the areas that caused the most pain. Anyone have any ideas of the best way to go about this? Thanks in advance, B ...

Build monitor for TFS 2008 build server

We have about 6 TFS Projects with their own builds that we want to actively monitor. Ideally it should show each of the builds along with their status: succeeded, partially succeeded, failed.. I don't need it to drive a light, rather I want a simple window as either a windows app or a web page. I did come across the Build Monitor on c...

MSBuild speedup: how to remove unnecessary project builds?

I have a solution with several projects in it. Let's say project A depends on projects B and C project B depends on project C When I run my solution on the local machine VS builds each project once and it takes 1 minute. However, on our build machine it takes about 4 minutes to build and, as I can understand from the MSBuild logs it g...

How can I deliver code to TFS periodically?

I'm a consultant whose client runs a TFS 2005 repository. I manage my own source code in TFS and deliver my releases to their TFS. My source code is around 20,000 files that I maintain. My normal process: Detach my solution from my TFS Connect to their TFS Checkout the entire project Overwrite my project files with theirs Check ...

How to remove the Override checkbox from TFS 2008 check ins with policy failures

In short, I want to stop our devs from overriding policy failures on check in. If I can't do that then I want to modify the Reason text box to look for something more than just a single character being typed in. ...

TFS: How to find out old filename after a rename

So I'm in TFS (2008) source control and rename a file. I check in the change and get a changeset which shows me that I renamed the file. The information in the changeset viewer contains the new directory and the new filename. But I can find no way (except getting an older version of my whole source tree and looking for differences) of l...

Modular TeamBuilds

I have 3 TFS Builds (2 Dev and 1 Cert). I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items. The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get ot...

Inital "get" done by Team Build

Does anyone have any links to documents about the initial "get" done Team Build (when the files from the ConfigurationFolderPath (ie TFSBuild.proj) are downloaded). All I could find was this one blog post: http://blogs.msdn.com/jpricket/archive/2007/12/10/changing-the-recursion-type-for-the-initial-get-that-team-build-does.aspx I would...

TFS MSBuild: $(ProjectDir) blank or random

I have a vcproj file that includes a simple pre-build event along the lines of: Helpertask.exe $(ProjectDir) This works fine on developer PCs, but when the solution is built on our TFS 2008 build server under MSBuild, $(ProjectDir) is either blank or points to an unrelated folder on the server! So far the best workaround I have manag...

TFS Build server - CSC : fatal error CS2008: No inputs specified

We get the above error message on our build server, when we build the solution or the specific project that the error refers to. We can build the solution without any problem using visual studio (also on the build server), however it fails with the above error when running msbuild. Any Ideas? ...

How to remove local tfs content programmatically?

I have the following situation. I programmatically create a temporary workspace using TFS. I then map it to a spot on my local machine so that I can be able to checkin/checkout files. Since the mapping to the local drive through the workspace is what creates the file structure. What is the way to delete the mapping through the workspace...

How to send code to Team Foundation Server w/out Visual Studio

I have a client that I have to send my ASP.NET project to their Team Foundation Server (its a 'Web Site' not a 'Project') First, does it being a 'Web Site' not a 'Project' matter? It was created in Visual Web Developer Express Edition, I don't have Visual Studio. Second, I don't have Team Foundation Server or any Team components. I j...

Is there a TFS policy to allow only merges and not edits?

We have a baseline folder and development branches in TFS. We'd like to add a policy where changes can only be merged into the baseline from a development branch and not edited directly unless you override the policy. How can we do this? ...

How can I remove a merge candidate from the Merge tool in Team System?

In Team System, I have a file that was changed in branch ServicePack\2.1 (which was branched from Integration) and I don't want to merge it to Integration. How do I delete it from the potential changeset list when I try to merge selected changesets? ...