Show all pending changes on the Team Foundation server older than a given age

This came up in the forums and Brian responded with an example showing how to list all pending changes.  This is a slightly modified version to print out the changes older than 2 weeks.     TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(server);     VersionControlServer vcs = (VersionControlServer)tfs.GetService(typeof(VersionControlServer));       TimeSpan cutoffAge = TimeSpan.FromDays(14); // 2 weeks     DateTime…


What formats can I specify for date/time with the tf.exe command-line?

The tf.exe command-line accepts multiple ways of specifying a version – changeset number, T (latest), workspace version, label, and date/time.  For the others it tends to be pretty clear how to specify that version (C123, T, Wsomeworkspace;owner, Lsomelabel) but it may not be clear how we parse the date/time version specifiers.  Since we’re a managed…


Monad version of "find changesets with overrides"

I already made the C# version but since I had made the Team Foundation Version Control provider for Monad last weekend (hopefully it can be a powertoy soon), I wanted to make a Monad version of this – one of the primary reasons is flexibility – once you have a script that just filters it down…


Attempt to find your already-committed shelvesets

I’m apparently a shelveset packrat.  I’m not really sure how it happened, but it did (well, gauntlet not deleting them combined with me not wanting to reuse a name, but still).  I noticed yesterday that I had 89 shelvesets, and I knew a good chunk of them had already been committed, but I couldn’t really tell…


Scanning history for the changesets that had policy override – simple usage of QueryHistory

This needs references to Microsoft.TeamFoundation.Client.dll and Microsoft.TeamFoundation.VersionControl.Client.dll – it’s intentionally simple and you can easily change the loop to include more information as desired, it’s just to show usage of the API mainly. Note that since we (intentionally) go backwards in our changesets via the IEnumerable, the order of the output will be reverse chronological….


Where is the Team Foundation Beta 3 Extensibility Kit?

This question comes up fairly often (understandably), so I wanted to point out the update from Brian Harry in the forums: We were supposed to get it last week but there was a miscommunication between us and the VSIP team on when the VSIP SDK would be made available.  We are working on finding an…


Team Foundation {Version,Source} Control – Which is it?

This is, for the most part, just random useless trivia that hopefully won’t really affect customers at all. Over a year ago, RobCaron passed on the news of our (that is to say, Brian‘s 😉 naming decision for what the project codenamed “Hatteras” was going to be officially called: Team Foundation Version Control The (only)…


I have a 1.1 app – what’s going to break as I migrate up to 2.0?

I’ve had 2 of my ISV buddies ask me this, so I’ll provide the link here that I have to them: On a fully-unrelated note, as Buck mentioned, the TFS Beta3 VPC image (with all 3 tiers on the one machine, so give your VPC lots of memory!) is done and should be on MSDN Real…


JohnLawr up on Channel9 – check it out!

The title says Sonal, but this video is really about JohnLawr talking about some of the goodness in Team Foundation.  There’s a lot of good info in this video, and he shows some of the various parts working together. Some of (many) things you’ll see and hear: Source Control Explorer brought up from the Team…