Buck Hodges

Azure DevOps (formerly VSTS and Team Foundation Server)

Latest posts

Mar 20, 2006
Post comments count 0
Post likes count 0

More posts from Tim

Buck Hodges

Tim Noonan is on a blog-posting roll.  Not long ago, he did quite a bit of work to get better performance in Visual Studio when dealing with large numbers of pending changes, among other things.  Much of the performance improvements came from better use of the ListView: inserting initial items and setting checked states.He's also posted a preview of new review command features that will be available in the next release of tfpt (Team Foundation Power Toys).  The current release is available in the VS March CTP SDK.

Mar 18, 2006
Post comments count 0
Post likes count 0

Manually modifying TFS databases is a bad idea

Buck Hodges

Over the last several months, I've seen folks post SQL hacks to modify TFS databases, usually to try to work around some limitation such as not being able to delete work item types.  Marcel de Vries, a Microsoft MVP who has been using TFS for quite a while, recently wrote a post on his experience in trying to do this.  As he mentions, there are many relationships and dependencies that are not obvious, and sometimes you won't find the problems until much later. Don’t change a TFS database by hand; How I got myself in real trouble

Mar 17, 2006
Post comments count 0
Post likes count 0

How to get the login dialog when using the Team Foundation Server API

Buck Hodges

Someone asked how to get the login dialog if the user fails to authenticate.  The code to do that is shown below.  I copied the call to the constructor from the basic API example, and I've added code to create and pass a UICredentialsProvider object to the TeamFoundationServer constructor.Also, I'm now calling EnsureAuthenticated().  The purpose of that call is to make sure that the user is able to authenticate with the server.  If not, the TeamFoundationServer object will use the UICredentialsProvider to display a login dialog.  If the user authenticates successfully after entering a use...

Mar 16, 2006
Post comments count 0
Post likes count 0

Team Foundation Server – version 1.0!

Buck Hodges

Rob Caron posted about Rick LaPlante's public announcement at SD West that TFS ships tomorrow!

Mar 15, 2006
Post comments count 0
Post likes count 0

Team Foundation Version Control client API example (RTM version)

Buck Hodges

[Update 3/10/2012] If you are using TFS 2010 or newer, there is an updated version control client API example.[Update 6/13/06] While the documentation is not what it needs to be, you can find reference-style documentation on a significant amount of the API in the VS SDK (current release is April): http://blogs.msdn.com/buckh/archive/2005/12/09/502179.aspx.I've updated this sample a few times before.  This is a really simple example that uses the version control API.  It shows how to create a workspace, pend changes, check in those changes, and hook up some important event listeners.  This samp...

Mar 15, 2006
Post comments count 0
Post likes count 0

Tfpt.exe command reference

Buck Hodges

Attached is a Microsoft Word document containing the documentation for the tfpt.exe power toy commands, including screenshots. [UPDATE 8/9/2007]  I fixed the broken link to the power tools page. [UPDATE 9/9/2006]  TFPT is now available as a separate download (you no longer have to download the massive VS SDK).  You can download from http://go.microsoft.com/?linkid=5422499 and find more details in this post.  The installation package also contains an updated Word document that covers all of the commands and features in TFPT. Team Foundation PowerToys.doc

Mar 15, 2006
Post comments count 0
Post likes count 0

TF14107: The changes could not be checked in due to an incompatible change in another workspace

Buck Hodges

When a rename is checked in, the server paths for other workspaces’ pending adds and branches are updated according to the rename being checked in.  If the server cannot update one or more server paths in the pending adds or branches in other workspaces because it would cause two pending changes to reside at the same server path (the server allows only one pending change per target server path), the checkin fails with the error message, "TF14107: The changes could not be checked in due to an incompatible change in another workspace."This error is correctly triggered when someone else has an add or...

Mar 14, 2006
Post comments count 0
Post likes count 0

Registry settings to make VS start up faster

Buck Hodges

A while back, I wrote a post on how to get better performance from the tf.exe command line.  Today, Tim Noonan, our resident hippie dev from version control land, posted about a couple of registry settings that can help improve the performance of VS with TFS.  The first helps with startup and the second helps with opening solutions. A couple helpful Team Foundation registry settingsHere's a couple of registry options that never made it into the UI anywhere that some of you may find useful.

Mar 13, 2006
Post comments count 0
Post likes count 0

Annotate (also known as blame) is now a power toy

Buck Hodges

[UPDATE 8/9/2007]  I fixed the broken link to power tools page. [UPDATE 9/8/2006]  TFPT is now available in its own small download: http://go.microsoft.com/?linkid=5422499!  You no longer need to download the VS SDK.  You can find more information about the September '06 release here.One of the features that we had to cut for version 1 was annotate, which is also known as blame in Subversion.  We had hoped to provide a power toy that at least provided the basics, and the Visual Studio 2005 SDK – March 2006 CTP for v2 contains an updated tfpt.exe with support for ...