Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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 it as it...
  • Blog Post: 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...
  • Blog Post: TFS 2010 - Adding a menu item to the Completed Builds context menu in the Build Explorer

    So, I have gotten this question a couple of times... "How can I add my own custom menu item to a TFS Build Automation context menu?" Yes, this is possible and not really that difficult. We even added some extensibility in 2010 to make this an even better experience. So, here are the steps that I followed...
  • Blog Post: 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 here,...
  • Blog Post: 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 TfsBuild.proj file and pass...
  • Blog Post: 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 of that. Well, we had the same problem...
  • Blog Post: 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 of using the Security API. Note that...
  • Blog Post: Using The Custom Assembly Path to Deploy Custom TFS Checkin Policies

    First, what is the Custom Assembly Path? In TFS 2010, we added a feature to the Build infrastructure that will automatically copy dlls checked into version control to the Build Machine. This functionality was added so that the custom build process designer didn’t have to visit each and every build machine...
  • Blog Post: Creating Fake builds in TFS Build 2010

    It was brought to my attention that the code I posted here no longer works in TFS Build 2010. So, I promised I would update the code. In doing so, I realized there were some things I should probably explain: 1) In TFS 2010, you can no longer simply create a controller or agent by itself. You have...
  • Blog Post: TFS 2010 – Custom Process Parameters Part 4 – Custom Types

    In my previous posts, we discussed… Custom Process Parameters Process Parameter Metadata Custom Editors In this post, I want to continue this discussion of process parameters and explain how to use your own custom types for process parameters. Previously, we used a String version number (i.e. “Beta2...
  • Blog Post: TFS 2010 – Custom Process Parameters Part 3 – Custom Editors

    In the last post of this series, we added metadata to our custom process parameter and I described all of the metadata that you can use to describe your custom process parameters. I also mentioned that we would talk more about some of the more complicated bits of metadata. The Editor property of the...
  • Blog Post: TFS 2010 – Custom Process Parameters Part 2 - MetaData

    This is a continuation of the Part 1 post . In the last post, we created a Hello World process template that uses a custom process parameter to pass in the text “Hello World!” And we showed that it worked pretty easily. But I skipped over something that perhaps you noticed. When you look at this process...
  • Blog Post: TFS 2010 – Custom Process Parameters Part 1

    What are process parameters? These are the objects that we pass into the build process that determines what will be built, what tests to run (and how), and all the other switches that decide what happens. How are they passed in? The process parameters can be set and/or modified in 3 different places...
  • Blog Post: TFS2010 – Changing The Way Build Information IS Displayed

    In this post, I want to explain how you change the way that build information is displayed on the Build Details View. You can do some pretty crazy things if you really want to. We are just going to change the color of Build Messages. If you want more details on customizing the Log View, see my last post...
  • Blog Post: TFS 2010 – Displaying Custom Build Information in Visual Studio

    In TFS 2008, we had a lot of requests to make the Build Details View customizable. In 2010, we have taken the first step in that direction. In this post, I will explain how to change the Log View of the new Build Details View to show custom build information. For reference you may want to check out Patrick...
  • Blog Post: TFS 2010 - How about those Build delete options

    When you delete a build in Visual Studio 2010, you don’t just get a message box that says “Are you Sure?.” You get this… In 2010, you choose what you want to delete. You can delete any of the the following: Details – this is the database record itself. Deleting this causes the build not to show up any...
  • Blog Post: TFS 2010 – What’s New On The Build Explorer?

    The Queued Tab: So, as you can see not much has changed on the Queued tab of the build explorer since VSTS 2008, but if you look close, there are a few changes. 1. There is a new filter you can apply - “Only show builds requested by me”. This filter will limit the results to only those builds you directly...
  • Blog Post: TFS 2010 Beta1 – Build DEtails View Log View section

    The picture above is of the Log View of the new Build Details View in Visual Studio Team System 2010. See my previous post on the Summary View for more information on the items above the words “Activity Log”. The log view can be seen by opening an in-progress build like the one shown above or by clicking...
  • Blog Post: tFS 2010 Beta1 – Build Details View Summary section

    The picture above is of the new “Build Report” in TFS 2010. I prefer the term Build Details View, because it is not actually a TFS report object. The view has completely changed, so let me take you on a quick tour: 1. The first thing you may notice is that this is a failed build. The icon in the upper...
Page 1 of 1 (22 items)