Upgrading your build definitions from TFS2010 to TFS2012

There have been a lot of problems with compatibility of custom builds when upgrading from TFS2010 to TFS2012. This blog post is my attempt to summarize what you have to do and how to fix some issues you might run into. The very first step is to upgrade your Server. Your build machines should match…

30

TFS 2012 – Cleaning up Workflow XAML files (AKA removing versioned namespaces)

If you haven’t run into this problem in TFS Build 2012 yet, you probably will… Problem: After Upgrading your Visual Studio client or your build machine from 2010 to 2012, you start seeing errors like these… Opening a XAML file in Visual Studio 2012 – System.Reflection.TargetInvocationException: Exception has been thrown by the target of an…

27

TFS 2012 – IBuildDetail.RequestedFor is not what it used to be!

If you have custom build tasks or activities that rely on “build.RequestedFor” (or “build.RequestedBy”) being the account name, you may have some problems when converting those customizations over to TFS 2012 Build. In TFS 2012, we have completely switched over to Display names in the UI. To make this work consistent everywhere, we repurposed the…

0

TFS11 RC – Simple Build Summary Customization

So, I did a few posts when TFS 2010 released on how developers could customize the Visual Studio Build Details View. However, it required creating a VS Add-In or Package and then deploying that to all your clients. Well, with the RC release of TFS 11 and Visual Studio, there is a much easier way…

12

TFS11 Beta – Continuous Diagnostic Logging

Okay, so if you are a TFS Build user, you probably are familiar with this scenario… You setup a new build definition and get it working. It works for days maybe weeks, then suddenly builds start failing sporadically for no apparent reason. You have several failed builds and none of them have any useful information….

3

TFS11 Beta – Batching Gated Builds

In TFS 2010, we added Gated builds. A gated build is like a pessimistic continuous integration (CI). CI builds are started after every check-in to make sure the developer didn’t break anything. Gated builds require the developer to check-in through the build process itself. The check-in is blocked until the build succeeds. To guarantee that…

2

Using NuGet with TFS Build Automation

In case you aren’t familiar with NuGet, check out this link: http://www.nuget.org How does NuGet help you with your build automation? In short, NuGet allows you not to have to check-in all those binaries that you depend on to build and deploy your application. If you use NuGet, it will simply download all the dependencies…

0

TFS11 Beta – TfsBuildServiceHost.2012 service stopping unexpectedly

We noticed several early adopters running into an issue with the build service in TFS11 Beta stopping unexpectedly. There is no event log entry other than it stopped and restarting it seems to work fine. The root cause seems to be connectivity to the TFS11 application tier. If the build machine can’t connect to the…

3

TFS11 Beta – The Builds Page

A picture is worth a thousand words… We will skip talking about the toolbar and the page title area, since I mentioned those in my last post. The Builds page has 3 sections: My Builds My Favorite Build Definitions All Build Definitions It is also bound to the Team Project. In other words, you can’t…

0

TFS11 Beta – Team Explorer (a new way to get things done)

When you connect to TFS from a Dev11 client, you will see a whole new Team Explorer. Here’s what you’ll see (I am already connected to a team project)… I won’t go into all the new features of Team Explorer, but I will tell you why it is so different. We decided to provide a…

5