Hello,
we used Finalbuilder 6 in combination with Team Build of TFS 2008. I Upgraded now to FinalBuilder 7 and get the Following Error.
C:\Build\MyProject\DevDaily\BuildType\TFSBuild.proj(287,5): error : Failed to copy FinalBuilder project/log files to \\stbl01\Builds\.... Invalid data at root level
Our TFSBuild.proj looks like
<
UsingTask TaskName="FinalBuilder.FBCmd" AssemblyFile="c:\Program Files\FinalBuilder 7\FinalBuilder.MSBuild.Tasks.dll"/>
<
Target Name="AfterDropBuild">
<
FBCmd ProjectFile="$(MSBuildProjectDirectory)\DsReleaseTest.fbz7" TeamServer="$(TeamFoundationServerUrl)" TeamProject="$(TeamProject)" TeamDropLocation="$(DropLocation)\$(BuildNumber)" TeamBuildType="$(BuildDefinition)" TeamBuildNumber="$(BuildNumber)" TeamBuildRoot="$(SolutionRoot)" />Target>
Thanks a lot
Hi,
It looks like the exception could potentially be related to the unicode support that was added in FinalBuilder 7. If you're not already, can you please upgrade to the latest version of FinalBuilder 7 (https://www.finalbuilder.com/download.aspx) as we have recently fixed some unicode-related bugs.
Can you also please send the TFSBuild.proj file to support[at]finalbuilder.com?
Cheers,
Ben
Hi,
thanks for your reply. I have already installed the latest Version of Finalbuilder 7.0.0.787.
I have attached the project file
Thanks a lot
TFSBuild.txt (13.683 KB)
Hi,
I think I’ve found the problem. There’s a bug in the code that runs after the build, which attempts to remove source control bindings from within the FinalBuilder project. This bug only occurs when you use the compressed project type (fbz7 rather than fbp7). Because the project files are stored in source control most people store them uncompressed, which is why we haven’t had it reported previously (the bug was also present in FB6).
So, the solution (I hope):
- can you please re-save the project as an fbp7. Not only will this work around the bug, but you’ll get better versioning/history for the project file in TFS
- I’ll fix the bug so that no-one else gets caught out
Please let me know how you go.
Cheers,
Ben
Hey,
sorry for the late reply. I was out of office the last days and will try it out.
thanks a lot
Ingemar Mayr