Search code examples
tfsvisual-studio-2015build-definition

TFS build definition won't load custom activities after upgrade to VS2015


I'm having issues with loading a build definition after install of VS2015 which I believe to be the cause.

It complains that it couldn't load the assemblies for some of our custom activities. Is there any way to find out what the "actual" reason and which assembly it was. I'm thinking it's due to it linking to V12.0 versions of TFS assemblies, with VS2015 VS14.0 as priority in the GAC.

Has anyone had any experience of this kind of problem? Or know where I should be looking for the error? I can't see anything in the event viewer logs.

Cheers, Jamie

Edit: They are custom assemblies for our custom activities which fit in each of the 'Advanced' panels.

Errors from the build definition


Solution

  • You have to rebuild your custom workflow activities against the latest version of the reference assemblies and very likely update the .NET version. This is one of many reasons why I've always recommended against creating custom build activities.