Paul Hacker .Net, TFS, Etc…

December 31, 2007

Define a New Build Definition with Team Build 2008

Filed under: Team System, Uncategorized — phacker @ 8:00 pm

This months TFS Times newsletter is going to focus on TeamBuild in VSTS 2008. As I was putting it together, I decided that I would write I nice post on a step by step walk through of a new BuildDefinition. So here goes.

New Build Definition

The first thing you will notice is that the name has been changed from Build Types to Build Definition. You want to select that option.

BuildĀ Name

You will notice that the Build Definition Wizard has changed considerably in VSTS 2008. On the left side are the steps that you will complete. Rather than this being a true wizard where you select “Next”, you actually will click on the left side items. This will allow you to bounce around the definition setup. You will also notice the yellow triangles. These denote items that need to be completed.
On this step you will give the Build Definition a neame and optionally a description. Another neat feature is the checkbox that allows you to disable the build definition. This is nice if I decide that I do not want the build available due to incompleteness of the setup, or in cases where it has been deprecated, but you do not necessarily want to delete it.


The next item in the list is Workspace. This replaces the need to have to customize the workspacemappings.xml file in vsts2005. If you recall (or maybe not), that in VSTS2005 the build server would pull down all the files in a project unless you defined the exact location of the code files you wanted to build. This would sometimes cause the build to run way to long. For example the build machine might pull down 10 mb of files to run a build on a 2 mb solution. This new step eliminates the need for the workspacemappings file and gives you a nice UI to setup the the location of the files you want to build.

Project File

The next step is required. It allows you to decide where to put the Build Project file that gets created. Again, if you recall in VSTS 2005 you had to accept default location of the builds project files. This was not always an ideal solution and so in VSTS 2008 the team decided to allow the users to place the build project files where they wanted to.


As if it can’t get any better, we now have a retention policy. This is awesome!! I have the ability to decide how long to keep builds around for. For example you may want to keep all failed builds around until the team has had a chance to review the failure. You will also notice the new “Partially Succeeded” build outcome. This is a neat feature that I really like. The usual scenario for this outcome would be when the tests failed, but the build compiled correctly.

Build Agent

The required next step is to define the build agent (build machine) that will actually run the build. You have the choice of giving the agent a friendly name (as opposed to some obscure machine name) so that you can easily distinguish it from other agent you may have. The computer name is the name of the build machine. Refer to build docs for the maening of all the items on this screen. Most folks just need to define the build machine name and a drop location for the binaries.

Build Schedule

Lastly we have the ability to schedule the builds. This is a fantasic feature that I have been waiting for. No more having to create custom solutions or Scheduled Tasks on the build sevrer. This is the mechanism for setting up Continuos Integration as well as anyother schedule you like. As you can see I am going to run a build every weekday at 9:00 PM no matter if there were changes or not.

To sum it up, the build functionality in VSTS 2008 contains some of the best new features. Please take the oportunity to check out the latest edition of the TFS Times newsletter for more cool features and insights into TeamBuiild.


New Year New Look

Filed under: Team System — phacker @ 7:23 pm

I have decided that I am going to try and make a better effort to blog more and make it more substantial. I have never been a wordsmith by any means, and so I am going to give it the ol’ college try. With that I have also decide that I am going to spruce up the out blog, dust it off, and restyle it. So now I am ready to go. Hope it appeals to those of you who do read my blog.

Happy New Year


December 12, 2007

Chicago Install fest

Filed under: Uncategorized — Tags: , , — phacker @ 11:08 pm

Well its about to begin. Never have been up here at the Chicago meeting, I must say I am impressed by the turn out. Its a constant steam of folks coming in and the best thing is that some are actually bringing gifts for the Toys for Tots drive. I am hoping to jump up and get a chance at open mic to talk about unit tests. That is one of the coolest features in VS 2008 Pro. I mean there are a bunch of new things in there, but I think the unit testing being moved to all skus is great because i think it will help devs design better software. Well more later as the evnt gets underway.


December 4, 2007

New VSTS User Group

Filed under: Team System — Tags: , , , — phacker @ 3:23 pm

I just recieved a notice of a new VSTS user group starting up in Omaha. If you are in the area, please try to support it.

Omaha Team System User Group

Contact Info: (co-leader) (co-leader)

Meeting Info:
“What’s New in TFS 2008” and “Rosario”

Speaker: Bill Maurer

When: Tuesday, January 22nd, 2008 at 6:00PM – 8:00PM

Location: Farm Credit Services of America, 5015 South 118th Street, Omaha, NE 68103

December Newsletter is out

Filed under: Uncategorized — phacker @ 2:41 pm

Hot off the presses is the December issue of TFS Times. Check it out and while you are at it, subscribe.


December 1, 2007

Web Access Power Tool for Team System 2008 released

Filed under: Uncategorized — phacker @ 1:55 am

Ever since Microsoft took ownership of the Web Access tool I have always look forward to each release as it comes down the pipe. I am anticipating this release since it has some great new features. Brian Harry has a great post on all the cool new features in the latest release. I especially like the linkable web pages and the support for custom controls. Download this great FREE tool.


Create a free website or blog at