Release Management Update 2 fails

If you are using the out of the box Release Management build templates with Team Foundation Server 2013 Update 2 and Release Management Update 2 you may in certain circumstances get a variety of errors and your build will not deploy. These errors can be generic like “Exception Message: Release build failed (type Exception)” to “Exception Message: Values must be bound to a non-null expression before ForEach activity 'Process each ConfigurationsToRelease' can be used.” There are several other errors which may appear as well.

It isn’t you!

It appears as though the wrong Release Management process template was shipped in the box with RM Update 2. The RM Update 2 build templates, by default are in the folder C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management. Do NOT use the build templates from this folder. Instead, download the good templates from here:

Now that that’s out of the way, how do you tell which template you are currently using? That’s easy. Edit your build definition and go to the Process tab. Scroll to the bottom of the screen and you’ll see one of the two views:


The Release section shown on the right is the out of the box build template. The one on the left is the good template which can be downloaded from the URL above.

The next problem is going to be the Configurations to Release. It appears as though we found a bug in the template which the team is now aware of. If you try to do the build without filling in the Configurations To Build or the Configurations To Release section of the build process, the deploy will fail with the second error message shown above. In order to make this work, you must specify at least one configuration in the Configurations To Build section even if you only want the default configuration built.

Once you do that, everything will work!

Comments (7)

  1. Stone9 says:

    Hey Jeff

    I was dealing with that exact problem last night! After downloading the new templates specified above it works. Question though… do the templates in the "C:Program Files (x86)Microsoft Visual Studio 12.0Release Management" folder need to be replaced with the new ones. Also, are there ones available for the Upgrade templates?


  2. Jeff Levinson says:

    @Stone9 Sorry for the delay in getting back to you. The ones in the folder do not need to be replaced, just don't use them 🙂 Yes, the ones at the second link will work fine. Leo is actually one of the program managers on the team.

  3. Glen Boonzaier at Work says:

    You got this all wrong:

    The Release section shown on the left is the out of the box build template. The one on the right is the good template which can be downloaded from the URL above.

    It's the other way around, the one on the left is the correct one.  I downloaded from the link you provided and it produces the one on the left.

  4. Jeff Levinson says:

    Thanks @Glen. I'll fix this post this message. Good catch.

  5. Andrew Anderson says:

    Companies rely on Latitude 40 Consulting to help them realize their business goals with quality custom software built just for them. We help enterprises make the most of their investments by using best-practices methodology to tailor comprehensive business solutions – solutions that can grow as you grow and change as the business changes… without costly re-engineering. This provide maximum return on investment for your custom software investment dollar.

  6. Jason at work says:

    Hi,  I just downloaded the zip and it's showing the file on the right.  Was this fixed or is the download now incorrect? I'm still getting build failures, but Release Management is successful.

Skip to main content