I downloaded the custom build Assembly from http://versionedtfsbuild.codeplex.com/.
I’m having major difficulty in getting errors resolved in the xaml in activities between Get Workspace and Update Buildnumber.
I’ve got the custom assemblies in a folder under my build templates folder and have my build controller pointing to that folder.
I’ve refreshed and restarted my build controller and have gone as far as recompiling the custom assembly source code. Still the errors persist.
There is also a red dot to the right of the assembly in the import section.
I can successfully do a build but there are no errors in the build log.
Can someone tell me how to get this working? I’m very new to TFSBuild and evaluating it to see if this is something we can used to help our build process. So far I can’t get any custom assemblies to work.
Copied answer from comment:
You shouldn’t have to do this but once I did and it fixed my issue. I copied the DLL to this folder on my machine. The build server was fine. C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies. This is part of the search path.
Have you created a project the contains your build template XAML and reference to the custom build assembly?
Here is a great resource for learning about build customization with TFS 2010.
http://www.ewaldhofman.nl/post/2010/04/20/Customize-Team-Build-2010-e28093-Part-1-Introduction.aspx
This part sounds like it relates to what you are trying to do.
http://www.ewaldhofman.nl/post/2010/05/13/Customize-Team-Build-2010-e28093-Part-5-Increase-AssemblyVersion.aspx
I hope this helps. TFSBuild is very customizable and should be able to meet your build process needs. I have used it to automate many types of builds and deployments.