Custom Build Activities and TF215097 Error

9 ביוני 2010

TFS 2010 Build Automation can be customized by creating custom WF activities.
The net is already full with how-to articles like this one:

When I tried to queue the build, I got this annoying TF215097 error:

TF215097: An error occurred while initializing a build for build definition "Cannot create unknown type '{clr-namespace:BuildTasks;assembly=BuildTasks}'"

To solve this, you need to open the WF XAML build in notepad and check the xnmns attribute ofthe custom activity.
The Visual Studio IDE only uses:
Instead of:

So, just add ;assembly=BuildTasks and it will work for you too.

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

one comment

  1. roto1 ביולי 2010 ב 14:37

    What if assembly definition already exists but still get the same error?