Category Archives: 12010

More about the Community Build Manager

In a previous post on the TFS Build Extensions I mentioned the new Community Build Manager and that I will write a post and explain more what it does. But who can do it better than one of it’s author’s Jakob Ehn so take a look at his fine post on the subject:

http://geekswithblogs.net/jakob/archive/2011/12/30/introducing-community-tfs-build-manager.aspx

Download and try it out, I really like this nice Visual Studio/TFS add-on!

Renewed as ALM MVP 2012!

The new year brought this pleasant mail to my inbox:

Subject: Congratulations 2012 Microsoft MVP!


Dear Mathias Olausson,

Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Visual Studio ALM technical communities during the past year.

This will be my fourth year as a Visual Studio ALM MVP and I’m honored to be a part of this group of brilliant people!

Community TFS Build Extensions – December 2011

We’ve just released a new release of the Community TFS Build Extensions.

This time it’s a pretty big release many new activities as well as a new power-tool, the Community TFS Build Manager. I will come back to the Build Manager later but here’s a sneak-peek at what it looks like:

image

In short it’s a Visual Studio extension that allows you to things you can’t to in the regular Build Explorer, such as batch updating build definitions and clone a build definition to a branch.

I’ll write more about the goodies in this release in a later post.

September release of TFS Build Extensions

The second release of the TFS Build Extensions is out! This release contains a new activity for running Silverlight tests as part of a build, an significantly improved VsDevEnv activity and a number of minor improvements and fixes.

Richard Fennell has done a great job on documenting some of the activities in this release, I’ll try to do the same for the ones I’ve contributed with.

In the the next release we plan to add more support for deployment (Azure, Sharepoint) and Lab Management. This is also driven my the coming updates to the ALM Rangers project for Build and Lab Management.

//Build/ Windows – Local Swedish event

The //Build conference is already sold out, something that I take as a good sign for us who booked in time to secure a seat. Still no agenda set so it sounds like it will be a good conference with lots of new stuff to talk about.

Uppföljning Build, Stockholm 2011-09-27
For those who cannot attend the full conference Microsoft Sweden is also hosting a one-day event with the “best-of” //Build in Stockholm about a week after the US conference (on 27 September)


Check out the event and register here: https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032490194&EventCategory=1&culture=sv-SE&CountryCode=SE.

TFS Build Extensions v.1.0 released!


Today the v.1.0 release of the TFS Build Extensions was released by Mike Fourie. I’ve had the opportunity to help out in the later part of this project and it’s great to see the TFS build activities finally come out. I know these activities will be much welcomed by anyone working with the TFS 2010 build system! There are many great activities in this 1.0 release and more is to come in the next couple of months.


Release Notes


This is our first Stable release providing in the region of 100 Activities / Actions
  • This release contains assemblies and a CHM file.
  • We anticipate shipping every 2 to 3 months with ad-hoc updates provided to the documentation.
  • We welcome your candid and constructive feedback and look forward to improving the quality with and for you.

Go over to the project site and take a look and get your hands on the bits.


If you don’t find the activity you’re looking for don’t hesitate to add it to the list in the discussion area. And should you encounter any issues with the release use the issue tracker at the project site (or leave a comment here).


I hope you find the activities helpful. I know I will!

ALM Rangers Lab Management Guide v1 Released!

This week there’s been lots of celebration for the Visual Studio ALM Rangers! Today the project site for the Lab Management Guide went live, which is really exciting. Now there’s finally a comprehensive document available that describes the many details of using the TFS Lab Management tools. Having worked with the project and the product for a good while I’m really happy to see this guidance come out.

So head over to the Rangers Lab Management Guide at Codeplex and take a look!

The v1 release contains the following:

The content is packaged in 3 separate zip files to give you the choice of selective downloads. The default download is the first of the listed packages:

  • Guidance, which includes scenario based practical guidance and frequently asked questions.

  • Hands-on Labs (HOL), which includes the HOL documents that provide walkthroughs of the technology, based on the guidance

  • HOL Package, which includes a HOL environment setup package which allows you to setup the HOL environment in your own environment

The Epics included in the guidance are:

  • Epic – Visualisation of the guidance using quick reference posters
  • Epic – Advanced golden image management using the VM Factory for Lab Management
  • Epic – Provide guidance on setting up Test environments with respect to pre-defined personas
  • Epic – Provide Guidance to enable large and small teams to setup and configure both automated and manual tests
  • Epic – Provide practical guidance for managing and maintaining a Lab Management environment
  • Epic – Provide practical guidance to enable teams to quickly setup and configure their lab management environment

Just Released: ALM Rangers Build Customization Guide

The Visual Studio ALM Rangers, which I’m a proud member of, today released v1.0 of a new set of guidance for TFS 2010 Build Customization. This is a project that has been under development for quite some time and includes lots of great material related to build management using the TFS 2010 build system. We’ve tried to focus on real-life scenarios so I think this guide will contain stuff interesting to anyone working with TFS builds.

If you just want to go and get the release then get it from the Rangers Build Customization Guide at Codeplex.

And for those interested in more about what’s in the release, here’s the overview from the project site:

The solution is divided in separate packages to give you the choice of selective downloads. The default download is the first of the listed packages:

  • Guidance contains scenario based practical guidance, frequently asked questions and quick reference posters
    • Selected PDF contains guidance and quick reference posters in PDF format only.
    • Complete contains guidance, quick reference posters and localization files in all available formats.
  • Hands-on Labs (HOL) includes:
    • HOL documents that provide walkthroughs of the technology, based on the guidance
    • HOL Package contains a HOL environment setup package allowing you to setup the HOL environment in your own environment
    • BRDLite Build Process Reference Template walk-through.
  • Samples contains sample build process templates used by the team as part of the guidance.
  • Videos which showcase the guidance in quick 5-10min videos.

The Epics included in the guidance are:

  • Practical guidance and tooling to simplify the customization of Team Foundation Build
  • Practical guidance to use Team Foundation Build process templates to automate build and non-build scenarios in Microsoft environments
  • Practical guidance to enable simple and flexible deployment of applications and their data stores
  • Practical guidance for Activities to empower developers and build engineers
  • Quality hands-on labs that complement the guidance and effectively guide the user through the features
  • Visualization of the guidance using quick reference posters

How to create a new project for the TFS Build Extensions

If you’ve been working with TFS 2010 build workflows you might have come across a community-developed set of custom activities on Codeplex called the Community TFS Build Extensions. This is a great add-on to the built-in activities but the documentation is still under development so starting to work with the activities can be a bit more work that necessary.

The steps below should help you get create a new .NET project for developing custom build templates with the TFSBE activities:

  1. Download and extract the latest Community TFS Build Extensions release.
  2. Create a new Workflow Activity Library.
    clip_image001
  3. Make sure target framwork is set to .NET Framework 4
    clip_image002
  4. Add a reference to System.Drawing
  5. Add references to Microsoft Team Foundation Server assemblies:
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.dll
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Build.Client.dll
    • C:\Windows\Microsoft.Net\assembly\GAC_MSIL\
      Microsoft.TeamFoundation.Build.Workflow\v4.0_10.0.0.0__b03f5f7f11d50a3a\
      Microsoft.TeamFoundation.Build.Workflow.dl
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\Microsoft.TeamFoundation.TestImpact.BuildIntegration.dll
    • C:\Windows\assembly\GAC_MSIL\Microsoft.TeamFoundation.TestImpact.Client
      \10.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.TestImpact.Client.dll
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.VersionControl.Client.dll
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.VersionControl.Common.dll
    • C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll
  6. Add references to TFS Build Extension components.
  7. Make a copy of the default build template and add it to the project.
  8. The completed solution should look something like this:clip_image003
  9. Open the template and add a new Tab to the Visual Studio Toolbox
  10. Select the new tab and choose to add new toolbox items
    1. Browse to the TFS Build Extension component you want to use and add the activities to the toolbox tab
  11. The new toolbox tab should list the selected activites:
    clip_image004
  12. Now you are ready to extend the workflow by adding new TFS Build Extension activities to the template!
    clip_image005 

A sample project with the above references added can be downloaded here: TFSBE.Template.zip.