tfs

How do I revert a file in TFS

On occasion, I'll end up checking in a file to our TFS db that I didn't intend to. Reverting to the prior version is quite tedious with my current approach. If there a fast way to revert a file to a prior version in TFS? I'm open to command line, powertool, or UI approaches. ...

How to keep code base and database schema in synch?

So recently on a project I'm working on, we've been struggling to keep a solution's code base and the associated database schema in synch (Database = SQL Server 2008). Database changes occur fairly regularly (adding columns, constraints, relationships, etc) and as a result it's not uncommon for people to do a 'Get Latest' from source ...

Publish a website in the Team Foundation Server Universe

This seems like it should be obvious so maybe I am not understanding something. I have TFS setup. My web apps code is in source control. I can check-in/out and create builds but I don't quite understand what the recommended method for publishing the code to the production environment is? I was looking for something like "publish rele...

Team Build, copy file target issue

Hi I have this team build target setup to after compile <Target Name="AfterCompile"> <Copy SourceFiles="$(SolutionRoot)\Development_VS2008\MyCompanyName.SharePoint.12" DestinationFolder="c:\testing"></Copy> </Target> I want the folder structure copied from source to destination... Amazingly I am getting this error Could not...

How to copy a recursive directory structure in TFS Team Build?

Is it possible to copy a directory in a team build target? ...

TFS over VPN connection - is there a way to save the userid/password on client?

I often connect to my work TFS instance over VPN. Becasue my home computer is not on the domain, I'm forced to enter my userid/password for each tf.exe command. Is there a way to cache or save this locally? ...

View All Changed Files in TFS

I would like to generate a list of all the files that have been modified within my project. I know I could view the history on the project to get all the changesets and then view each changeset for the files in contains, however, this process would take a long time. Is there an easier way to generate this list? The list does not need ...

Only create a TFS work item on a new failed build

I've seen the post about disabling work item creation on all failed builds, but I'd like to have TFS only create a work item on the first failure. We have a very complicated legacy system that involves VB6 COM components and frequently have build failures on the build server that track back to some funkiness VB6 does with binary files (...

Any good recommendation/resource for doing Branching in TFS (Team Foundation Server)?

Branching always seems to be a complicated thing to do. Not technically but yeah there are some real decisions/planning that goes in to come up with an appropriate branching strategy. I know of this TFS Branching Guide Any other resource or guideline which you recommend or use for branching and merge. Sharing your experience in this ...

Migrate from Subversion to Team Foundation Server

We are looking for any proven migration path for moving a Subversion repository to a Team Foundation Server. Seems that there has been a discontinued product named CS-Converter(ComponentSoftware homepage) but can't find anybody having used it. Is CS-Converter a solid product, are there any other resources I haven't found or does anybod...

Project portal bombing after installing VS 2008?

I have a working, new installation of Windows Server, Team Foundation Server, SQL Server etc etc working in harmony, everything working great. Then -- I installed VS2008 Team Suite on the server so that I could use it as a build agent for automated builds/testing. After that the project portal was bombing out with... This page has enc...

Connect to Team Foundation Server...

I have 2 machines, one at Location A and the other at Location B. The B machine is connected to A's newtwork via VPN. VS2008 Team System is installed on both machines. The A machine has a menu option under Tools > Connect to Team Foundation Server... but the B machine does not have this option. Is there something that I've missed in the...

HintPath on a added reference in Visual Studio

I know that I can add a HintPath to an external DLLs to help Visual Studio/TFS find the dll when it builds. What I was wondering is... is it possible to add multiple HintPath? For example... developers have their DLLs for one place and we do a GetLatest of those DLLs at a different place on the server hence the need for multiple HintPa...

Team Foundation Explorer - Check In for the First Time

How do you check in code for the first time in Team Foundation Server? I created a local path, dropped some code in it, now what? Hitting refresh doesn't help. ...

Is it possible to edit files during a Team Build?

I'm looking for a way to edit a configuration file (web.config in an asp.net project) in a Team Build. Specifically I'm looking at either uncommenting or adding identiy impersonate in the config file before copying the built web application to its destination. I know that it's possible to have multiple config files and copy one over th...

Why does Visual Studio 2008 want to save my project file repeatedly?

I have a semi-large solution file in Visual Studio 2008, with around 25-30 projects in it. I notice that a lot of times when I want to either close the solution file, or check in pending changes to TFS, VS will ask me if I want to save a particular project. If I cancel the operation, hit Save All, then retry, it will ask me again. If ...

What are some ALM alternatives to TFS?

I'm also familiar with the 'Subversion + Cruise Control + Fogbugz + nCover + ...' setup used in dev houses. But what other options are there? I'm pretty naive outside of these 2 combinations. I'm from the .net world and perhaps LISP of Ruby developers do it completely differently? ...

Team Foundation Server - Cannot add new query

In Work Items - Team Queries I click on add new query. The query appears in Team Queries , is saved in the database TFSWorkItemTracking in StoredQueries Table. When I connect with another client or when I reconnect with the client with which I added the query , it is not visible anymore. From what I have investigated the new queries I ...

Team Foundation Server - Cannot add new project

I am logged in as administrator I click on add new project on my TFS Server. I give a name to the project than select a process template for the new Team Project ( the process template is MSF for Agile Software Developement - v4.2 and it is just downloaded for the microsoft website it is not modified . I uploaded it to the TFS Server Te...

How to handle shared projects in team foundation server source control structure

After having read http://stackoverflow.com/questions/381020/team-foundation-server-source-control-structure which I have followed a few questions come to mind that I am wondering if anyone can comment on. I have a few components that make up a project I am working on. I have a smartclient, a webservice, a proxy for the webservice that t...