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 2010 – Using a TypeConverter to display your custom Process Parameter list type

I just helped someone today with this common problem… “How do I get my custom list process parameter to show something besides ‘(Collection)’ in the Process Parameter property grid?” The answer is really simple if you are familiar with the WinForms property grid. The PropertyGrid class looks for type converter attributes on the classes to…

5

TFS 2010 – Overriding build settings

This post is for those that are pretty familiar with the TFS Build features in Visual Studio. If you aren’t, this may not make any sense. So, it’s Friday and you just made a gated check-in, but you can’t leave until your build finishes. So, you open up the build details view and stare at…

2

TFS 2010 – Build menu ids and guids

Okay, so I wrote a post a couple of weeks ago and exposed two of the menu guids for Build. Since then I have been asked for others, so here they all are… Menu Guid (we use the same guid for all build menus):   {34586048-8400-472e-BBBF-3AE30AF8046E} Menu Ids (in hex):  int menuTEBuilds = 0x100; This menu…

4

TFS 2010 – Viewing the Build Details Log View in Visual Studio is very slow

So, there are several things I want to talk about, but they all boil down to the perf of the Log View in the Build Details window in Visual Studio. Unfortunately, if you have a large amount of data here, it slows down everything until it gets fully loaded. We knew about some of the limitations…

0

TFS2010 – Where is $(BuildNumber)?

So, I have been asked this very question a couple of times now which means it should be searchable for all :). In TFS Build 2008, all of the logic for building on the server was tucked away in a targets file for MSBuild. All Team Build did was to call MSBuild on a special…

6

TFS 2010 – Making Your Build Log Less Noisy

So, I have been asked this question a couple of times now and so I decided to put it out there for everyone. If you are creating custom build templates that do a lot of looping or other work that seems to make the build log way too noisy, you may want to hide some…

3

TFS 2010 – Build Security API

I had a request recently on how to “Secure” a build from code. While I am still not sure there is a great way to do that. What I found is that there is next to no information on the TFS Security API. So, I thought I would post this code here as an example…

3