Issue triggering FB package from Team Foundation Build

I'm currently using the approach outlined at https://www.finalbuilder.com/articles.aspx?mid=370&ctl=ArticleView&articleId=20 to call FinalBuilder packages from Team Foundation Build 2008.  (in TFSBuild.proj-)

   
   
       
               Variables="SolutionRoot=$(SolutionRoot);TeamProjectName=$(TeamProject);DropLocation=$(DropLocation)" />
   

I'm getting my Visual Studio.NET package to compile from the TFBuild, but it throws the following error in the Build Log when it tries to execute the FB package (we're using FinalBuilder 5.5):

"C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) ->
(AfterDropBuild target) ->
  C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj(183,3): error MSB4018: The "FBCmd" task failed unexpectedly.
C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj(183,3): error MSB4018: FinalBuilder.FBMSBuildException: The FinalBuilder 4 installation path was not found in the registry under SOFTWARE\VSoft\FinalBuilder\4.0. Verify that FinalBuilder is installed and that the correct version is specified in the MSBuild Project.
C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj(183,3): error MSB4018:    at FinalBuilder.FBCmd.GetFBPath()
C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj(183,3): error MSB4018:    at FinalBuilder.FBCmd.Execute()
C:\Temp\TeamCvent\FB\BuildType\TFSBuild.proj(183,3): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

Is the FinalBuilder.MSBuild.Task.dll that comes with FinalBuilder 5.5 compatible with it?  Is there an updated version of this .NET assembly/library or is there a workaround with either the registry or additional parameters (like FBVersion) to make this work? 

Thanks!

David

Hi David,

Thanks for your post.

The FBCmd action has an (optional) FBVersion attribute, which tells it which version of FinalBuilder to run. If this is present, delete it.

FYI, it used to be mandatory, but (as of FB 5) FBCmd will attempt to autodetect the FinalBuilder version based on the project file extension.

Regards,

Angus

PS I also edited my blog post so the cut-and-paste code doesn't contain the FBVersion attribute any more (the blog post dates from FB 4.)