Is it possible to add your projects/source to two different TFS servers?
If possible it would be very handy to synchronize my local TFS server with TFSPreview.
This is definitely not supported. TFS stores cache of your local workspaces and will never allow you to map the same folder to two different servers. This is how you can work with tf.exe without specifying server switch every time.
Very simple solution for you is to mirror one workspace with robocopy in another directory. Before you start doing something on your own please look at http://tfsintegration.codeplex.com/. TFS product team is afaik using it exactly for purpose of synchronizing between 2 servers.
Related
I have 2 different TFS repositories (one using Visual Studio Online and another using my own local on premise TFS instance) which I want to keep in sync using git-tfs. How do I need to set things up so that I can work locally in git and push changes up to both repositories? Please note both TFS repositories are using TFSVC.
As the main developer of git-tfs, believe me, that's not possible...
Git-tfs can only manage one TFVC repository.
Short answer: Not support.
If you want to sync Visual Studio Online and local TFS. You can use the TFS Integration Tools to setup a unidirectional sync, that should allow you to ensure that a TeamProject on your local TFS system remains in sync. However, they are complicated to setup and will be painfull to run. And There are commercial options that are ridiculously expensive, like OpsHub.
Our TFS 2013 cache is growing very large and would like to move it to a different hard drive. Looks like TFS has two caches, one for the web service and one for the background job agent so I wanted to move both. For the web service, it was very easy based on the description here - http://msdn.microsoft.com/en-us/library/ms400793.aspx. For the job agent, I could not find a similar document, so I looked for a similar cache setting in C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\TFSJobAgent\TfsJobAgent.exe.config but couldn't find one.
Any suggestions?
It is not possible to move anything associated with the TfsJob Agent.
However when installing TFS there is the option to install to a different disk for everything. I would however not recommend this practice and you should have at least 100gb for a modern servers primary partition.
I'd like to know if there is some way to make a checkin on a TFS server associated to a Work Item that's on another.
Currently some of our developers use a TFS that's hosted offshore containing the source code and we need to install another TFS locally to use Work Items as a project management tool and for the rest of our developers.
Beeing able to associate the two (work items + checkins) would be nice but I presume it's not possible.
Thanks
Apparently it's not possible: http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/d3ddf813-dc13-48a2-808e-7887ddc4d9b1
Is there a way to "sparsely checkout" a local workspace in TFS 2012? We currently use SVN and are investigating TFS 2012. Specifically, I don't want my entire collection to be downloaded to a developer machine. We branch to provide isolation among teams and products. I'm hoping that we can selectively choose which items in the branch are downloaded locally.
You can map various parts of your source tree using different workspaces to achieve some of the effect that you're looking for. We use this to separate components in our build system. Workspaces are configured by client machine/by user.
we have 2 branches of code in tfs 2010 such as enhancement and support
Most of the developers work on enhancement as well as support.
Now, We want to create two different work spaces and map it to one local folder as we have all our virtual directories mapped to that local folder and dll registered from that location.
However, TFS does not allow this!! So what is the alternative? Also
mapping to two different local folders will occupy more spaces on each individual developer's machine.
This is not supported. As Stuart mentioned in his question - TFS is not able to decide where to do check-in, if you try to check-in your changes on one file mapped from two branches.