Tag: Build
-

Running a Linux VSTS Agent on Azure Container Instances
About 3 weeks ago, Corey Sanders (https://azure.microsoft.com/en-us/blog/announcing-azure-container-instances/) announced in his blog that Azure Container Instances is in private preview. I think that this new Azure service is very promising. In a nutshell, it is a hosted and managed Container cluster. The only thing you need to take care of is…
-

Publish symbols to Azure File Storage with the VSTS Hosted Agent
A while ago I migrated a lot of builds to the Visual Studio Team Services Hosted Agents. This works great. We reduced the number of build servers and agent on-premises and can now easily scal up and down. But .. as it goes… there is always that next thing on…
-

Only trigger a release when the build changed
I created a Build task for this purpose as well. Check it out here! Back in the early days, when we used XAML builds in TFS (wow that seems like ages ago!), we had the possibility to NOT execute a build when nothing changed in the source code repository. This checkbox “Build…
-

Installing a VSTS Build agent on Mac OSX
Today I needed to install the VSTS Build Agent on a Mac Mini in the office so we can build the IPhone App. The great partΒ of the new build infrastructure in VSTS is that it is Cross Platform and we CAN do that. Just download the agent and run the…
-

Copy files (and run tests) on a remote machine back to the VSTS build and release agent
This week I was working on a script, running in my VSTS release pipeline that executed Pester tests on a remote machine. Running Pester tests on the VSTS Build and Release Agent work fine with one the awesome tasks on the Visual Studio Marketplace, but this was about running the…
-

Controlling build quality using Build Tags and VSTS Release Management
On many occasions a release is a composition of many different artifacts, like product MSI’s, Shared Assemblies, Documentation etc.. I like to compare it with a big box that you use when moving. You fill it up with all sort of little boxes and other stuff and you label it.…
-

2 weeks full of highlights
Wow ! Normally I post about VSTS or TFS or just about some other techy stuff but my last 2 weeks were so packed with highlights, both personally and at Xpirit, I just wanted it to share with you. Iβll first give you the executive summary Personally I became ALM…
-

Unattended install of a Visual Studio Team Services (a.k.a. VSO) Build Agent
A while ago I was looking at installing the VSTS build Agent on Linux and was searching for the possibility to uninstall it unattended. I was doing this because I wanted to run my agent in a Docker container and on startup I wanted to run a configured agent. I…
-

Build, Test, Deploy, Repeat β Slides from my Techorama session
Techorama is a new international developer conference that was born in 2014. It is a conference that is organized by 3 community-driven techies, Pieter Gheysens, Gill Cleeren and Kevin DeRudder and brings inspiring keynotes, deep-dive developer sessions, integration scenarios and best practices. All this goodness is professionally delivered by international…
-

Build fails when associating work items
Recently I ran into a strange problem. I modified a work item type definition and added a field. So far, so good. The field could be edited and everyone was happy. But after that, my build failed. As you may or may not know you can choose to associate work…
-

Error in TFS 2013 build – Could not load file or assembly ‘Microsoft.VisualStudio.Services.WebApi
Recently I installed TFS 2013.2 and modified some Build Templates. I also installed a separate Build Server that executes these builds for me. My build template was based on the default TFS 2013 Build template (Tfvctemplate.12.xaml) When my build executed, it ran for a while, but eventually it stopped with…
-

The Road to Continuous Delivery–Part 1
Introduction Continuous Delivery. You hear and read a lot about it lately and it seems to be or become a trend. What I see in the field is that companies think about Continuous Delivery but are not completely sure what it actually means. Let alone that they can oversee the…
-

TFS Build throws CRC in GZip footer error
This week I encountered a really nasty problem with the Team Foundation Server Build Agents. Before I walk you through the details let me first explain the situation. Scenario At a customer we are building a new build βfarmβ (a little farm π ). Currently we have 2 build servers…
-

Release Management with InRelease
My dear colleague Jasper Gilhuis explains how the new component within Visual Studio called InRelease fits into the Application Lifecycle. This post explains the concepts behind the tool and a great walkthrough scenario!
-

Hidden Gems in TFS 2012–Part 8 Related Work Items in a Build Report
In this series of blog posts I like to highlight some features of TFS/Visual Studio that people seem to overlook. In my day to day job I often see that people donβt know about certain feature that are available in Team Foundation Server, Visual Studio or some of the Powertools.…
-
Custom Build Activities Type is greyed out in Build Definition editor
Lately I am quite busy with building Custom Build activities for TFS 2012. I also did this in TFS 2010 but it seems that I avoided some issues there. In my previous blog posts I described some migration issues with TFS build. This is about an issue I had with…
-
‘Microsoft.TeamFoundation.Build.Client.IProjectFile’ is obsolete
For my customer I was implementing some advanced BuildNumbering mechanism (Here can you find a good post about this). Because it was important that the stuff worked, I wrote some Unit Tests. I usually do that and need IBuildDetail. Jim Lamb has a great post about how to stub The…
-
Lessons learned in upgrading my TFS 2010 Build templates to TFS 2012
Awaiting the Visual Studio 2012 Launch I am preparing our builds to work on TFS 2012. In my previous post I described that I updated the references and imported some namespaces and then everything worked! Because there were some issues with our current builds, I decided to restructure our build…
-
Upgrading your Custom Build Template to TFS 2012
In the past years I have been quite busy with customizing the build for both my own and also custom organizations. Today I was experimenting with the build definitions on my TFS 2012 Release Candidate installation. I attached a TFS 2010 Team Project Collection to my TFS 2012 Server as…
-
Error when copying Build Template “The type ‘TfsBuild.Process’ already contains a definition for…”
I do quite a lot of Build customizations and usually I create a new Build Template for each type of Build I want to do. You can choose to copy the file in the Build Definition Editor or you can just Copy/Paste the file in Windows Explorer. The advantage of…


