views:

51

answers:

0

I am working on developing a system that employs custom build activities using TFS 2010. Sometimes when I create a new XAML template in visual studio and run my build definition I get an error that says...

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

According to the few articles on the web that I have found, you either need to add the path to the custom assembly (in my case, AutomatedBuilds.dll) to the Custom Assemblies Path in TFS, put it into the GAC, or into the Visual Studio Probing Path.

Putting the dll into the GAC works, but it is not the idea solution since these templates are going to be used by a large group of programmers. I would rather not have to have them all place the assembly into the GAC, and then manage the updates. I would rather that the build controller locate the assembly in the custom assemblies path.

Unfortunately, that is not working very well. It does not seem to be able to locate the reference during the build.

Has anyone run into this problem, and have they resolved in any other way than putting the assembly into the GAC?

Thank you.