Showing results for March 2006 - Page 2 of 3 - Buck Hodges

Mar 20, 2006
0
0

How to validate check-in policies, evaluate check-in notes, and check for conflicts

Buck Hodges
Buck Hodges

In the version control API, the CheckIn() method does not evaluate check-in policies and validate check-in notes.  It provides with the ability to supply both an override comment and check-in notes, as applicable, but the evaluation and validation must have been performed prior to calling CheckIn().  The reason for this is that in a ...

Team Foundation ServerSource Control
Mar 20, 2006
0
0

More posts from Tim

Buck Hodges
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 als...

Team Foundation ServerSource ControlC#
Mar 18, 2006
0
0

Manually modifying TFS databases is a bad idea

Buck Hodges
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, the...

Team Foundation ServerSource Control
Mar 17, 2006
0
0

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

Buck Hodges
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(). ...

Team Foundation ServerSource ControlTFS API
Mar 15, 2006
0
0

Team Foundation Version Control client API example (RTM version)

Buck Hodges
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/5021...

Team Foundation ServerSource ControlTFS API
Mar 15, 2006
0
0

Tfpt.exe command reference

Buck Hodges
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 ...

Team Foundation ServerSource Control
Mar 15, 2006
0
0

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

Buck Hodges
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 ser...

Team Foundation ServerSource Control
Mar 14, 2006
0
0

Registry settings to make VS start up faster

Buck Hodges
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 cou...

Team Foundation ServerSource Control
Mar 13, 2006
0
0

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

Buck Hodges
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 ha...

Team Foundation ServerSource Control